You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Sonar server is HTTPS enabled through SSL/TLS, after changing the server to https sonar scan begin is failing.
[05:47:47] : [Step 2/8] 05:47:47.36 Updating build integration targets...
[05:47:47] : [Step 2/8] 05:47:47.371 Fetching analysis configuration settings...
[05:47:47]W: [Step 2/8] 05:47:47.422 Failed to request and parse 'https://sonar.xxxxxxxxxxxxxxxxxx.com/api/server/version': The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
[05:47:47]W: [Step 2/8] 05:47:47.423 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://sonar.xxxxxxxxxxxxxxxxxx.com without encountering certificate errors.
[05:47:47]W: [Step 2/8] 05:47:47.423 Pre-processing failed. Exit code: 1
[05:47:47]W: [Step 2/8] Process exited with code 1
[05:47:47]E: [Step 2/8] Process exited with code 1 (Step: SonarScanner Begin (SonarScanner for MSBuild: begin analysis))
[05:47:47]E: [Step 2/8] Step SonarScanner Begin (SonarScanner for MSBuild: begin analysis) failed
[05:47:47]W: Step 3/8: Debug Build (MSBuild)
How can I fix this, I already added the .pem file to TeamCity Administration->Root Project->SSL / HTTPS Certificates.
Thanks,
Ishara G.
The text was updated successfully, but these errors were encountered:
Hi,
My Sonar server is HTTPS enabled through SSL/TLS, after changing the server to https sonar scan begin is failing.
[05:47:47] : [Step 2/8] 05:47:47.36 Updating build integration targets...
[05:47:47] : [Step 2/8] 05:47:47.371 Fetching analysis configuration settings...
[05:47:47]W: [Step 2/8] 05:47:47.422 Failed to request and parse 'https://sonar.xxxxxxxxxxxxxxxxxx.com/api/server/version': The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
[05:47:47]W: [Step 2/8] 05:47:47.423 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://sonar.xxxxxxxxxxxxxxxxxx.com without encountering certificate errors.
[05:47:47]W: [Step 2/8] 05:47:47.423 Pre-processing failed. Exit code: 1
[05:47:47]W: [Step 2/8] Process exited with code 1
[05:47:47]E: [Step 2/8] Process exited with code 1 (Step: SonarScanner Begin (SonarScanner for MSBuild: begin analysis))
[05:47:47]E: [Step 2/8] Step SonarScanner Begin (SonarScanner for MSBuild: begin analysis) failed
[05:47:47]W: Step 3/8: Debug Build (MSBuild)
How can I fix this, I already added the .pem file to TeamCity Administration->Root Project->SSL / HTTPS Certificates.
Thanks,
Ishara G.
The text was updated successfully, but these errors were encountered: