Keywords: Jenkins - AWS - Technical issue - Secure Connections (SSL/HTTPS)
I am currently facing an issue to lunch sonar scans from jenkins, the sonar scans passes when i'm using http configuration , but when i switch to https , i got the following error when the server upload the sonar report :
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:220.127.116.116:sonar (default-cli) on project sce-core: Fail to request https://xxxxx/api/ce/submit?projectKey=xxxx&projectName=xxxx: Hostname xxxxx not verified (no certificates)
My sonar server is well configured with a valid Let's encrypt certificate.
I tried also to add the sonar certificate under /opt/software/jdk-11/lib/security/cacert trust store and adding -Djavax.net.ssl.keyStore=/opt/software/jdk-11/lib/security/cacerts -Djavax.net.ssl.keyStorePassword=changeit to maven command, but i got the same error.
jenkins version : 2.204.1
java version : jdk 11
sonnarqube scanner plugin version : 2.12
Could you help me please ?