I get :
2021-10-05 15:01:06 - Error getting response; javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
while trying to run the API url : "https://api.zephyrscale.smartbear.com/v2/testcases"
Same works well on other system.
The system you are using does not have a certificate installed that allows it to talk to that site over https.
You'll need to get a certificate and put it into the Java's certificate store.
I cross checked the Java certificates in 2 system(1 its working, 1 its not). Both gave me same result. Able to connect with Jira using C#, but not SOAPUI.
Did you check the CA too?
If it's not the certificates, you're going to need to get more detail from the logs to see where it is failing.
Can you guide more on this? not sure about CA.Only getting this error:Error getting response; javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
Sorry, CA is the certificate authority.
One of the things a certificate is validated against is the CA (Imagine your country's passport office, and your passport - most of the time, your passport will take you through a port with little fuss, but sometimes, border control might go "hey, who issued your passport? We just want to check this doc with them" - they're the CA)
In this case, we're a bit stuck. There is something wrong with the software's use of the certificate, because Jira is not able to say "the certificate you've presented checks out against the CA and all the other rules set".
All we can really tell you is that it's a bit broken, and your best bet is increased logging and comparing the SSL setup between the working system and the broken one.
It looks like you're new here. Sign in or register to get started.