Problem when switch to HTTPS

Hi,

I generated TLS key and keystore as youtrack instruction. But at the installation step HTTPS, Youtrack not accept the certificate and throw error "Hostname youtrack.domain.com taken from Base URL doesn't match server certificate". But when I decode the certificate, all information is still true. Then I applied the HTTP and switch to HTTPS by command line. Everything run successfully, but after I start the youtrack 1min, it  shutdows without reasonable.

I tried the way that use keystore but can't input the right Alias so can't switch to HTTPS too.

Any experient on that please share with me.

Thanks & Regards

1 comment
Comment actions Permalink
Official comment

Hi!

I'm Sergey from the Youtrack team.

>But at the installation step HTTPS, Youtrack not accept the certificate and throw error "Hostname youtrack.domain.com taken from Base URL doesn't match server certificate"

That's definitely the cause. This means that the hostname in the certificate doesn't match the hostname of your server. You can check the hostname of the server by entering 'hostname' in the command line of the server. Also, a common mistake here would be using a port number in the CN's value. Make sure that you don't do it. 

>Then I applied the HTTP and switch to HTTPS by command line. Everything run successfully, but after I start the youtrack 1min, it  shutdows without reasonable.

That's the advantage of doing it in the UI, as more checks are done so that a problem can be identified before running Youtrack. 

Please sign in to leave a comment.