how to update website SSL certificate?

Hi, is there a guide on how to update the SSL certificate for youtrack self hosted?

i'm running the ZIP installation on ubuntu with internal HUB. 

when i setup youtrack through the GUI it was very easy to add the certificate and key. However now my cert has expired, I cant seem to figure out where to update this certificate, I've looked on youtrack WIKI and can see how to update it when using an external HUB service.

i've also looked through a lot of the configuration/directories in the CLI and cant find where to add the new certificates.

Is there a specific command to run to get back to the setup area to add the new certificates?

Thanks i've been looking for a few days and i'm stuck.

0
2 comments

Hi!

You can either update the certificate during an upgrade, or stop YouTrack and start it with new cert and key via command line as per https://www.jetbrains.com/help/youtrack/server/configure-server-tls-from-command-line.html#HTTPS-privateKeyAndCert

1

amazing thank you so much. the following did the trick.

/usr/share/youtrack# bin/youtrack.sh configure --tls-server-cert-key-file=/etc/letsencrypt/live/xxxx/privkey.pem --tls-server-cert-file=/etc/letsencrypt/live/xxxx/cert.pem --tls-server-cert-chain-file=/etc/letsencrypt/live/xxxx/chain.pem

0

Please sign in to leave a comment.