WebHook - unable to find valid certification path to requested target

SonarQube 9.9
Centos
HAProxy
k8s
JAVA 17

webhook added in SonarQube return ( on site ) - Response: Server Unreachable
In ce.log i can find :
[jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:YYYY, Subject:CN=*.k8s.XXX.XXX, Issuer:CN=Trusted Secure Certificate Authority DV, O=Corporation Service Company, … , 2:00 AM, Valid until:11/17/23, 1:59 AM

2023.02.09 10:14:25 DEBUG ce[XXX][o.s.s.w.WebHooksImpl] Failed to send webhook ‘SonarQube Proxy’ | url=https://sq-proxy.k8s.XXX.XXX/sonar-qube/pipeline-event/ | message=unable to find valid certification path to requested target

both servers are under HAproxy ( same network )
I do not understand what and where i need to add in order to work … any help ?
Please

1 Like

i solve it
certs need to be aded also in java 17 folder
sudo keytool -importcert -alias ““name”” /usr/lib/jvm/jdk-17-oracle-x64/lib/security/cacerts -file “cert location” -trustcacerts -storepass changeit
for all certs

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.