Failed to connect to the server. SonarLint, SonarQube and IntelliJ

Hi @Sam_Sam

Congrats for your issue report, it has all the needed informations :slight_smile:

Caused by: javax.net.ssl.SSLPeerUnverifiedException: Hostname My_SonarqubeHostname not verified: certificate: My_certificate DN: CN=MY_CN, OU=MY_OU, O=MY_O, L=MY_L, ST=MY_ST, C=MY_C subjectAltNames:

This is because your SSL certificate is following an outdated practice, that the library we are using to do HTTP calls have stopped supporting. For more details, see:

You should ask your administrator to fix the certificate, so that your server DNS name appear in subjectAltNames certificate attribute.

1 Like