Keywords: SonarQube - Microsoft Azure - Technical issue - Secure Connections (SSL/HTTPS)
I am using SonarQube in our VSTS pipelines. If we just allow HTTPS connection on the SonarQube server with self signed certificate the pipeline fails with the error.
A server certificate could not be validated. Possible cause: you are using a self-signed SSL certificate but the certificate has not been installed on the client machine. Please make sure that you can access https://IP-address/ without encountering certificate errors.
Failed to request and parse 'https://ip-address/api/server/version': The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Have added the certificate to the machine store and java store also.
Is there a way to fix this issue.