I have a server running SonarQube in a Docker container, configured using a Docker Compose file. On this server, I also use an SSL certificate issued by a Certificate Authority (CA) with Apache configured as a reverse proxy. However, when performing code analysis through the GitLab CI/CD pipeline, I encounter the error “PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.” How can I validate the certificate to resolve this issue?
Sonarqube version: 10.6.0-community
SonarScanner 5.0.1.3006