Ask a Question

sun.security.provider.certpath.suncertpathbuilderexception unable to find valid certification path

tayfun07
Occasional Visitor

sun.security.provider.certpath.suncertpathbuilderexception unable to find valid certification path

When i try to add a New Rest Project (wadl) to SOAP UI 5.6.0 from my Windows 10 Enterprise LTSC 64 Bit operating system.

I get this error on the program. 

An error of type XmlException occured.

org.apache.xmlbeans.XmlException: javax.net.ssl.SSLHandshakeException: PKIX path building failed:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

is there any solution? please help me

thanks for your kind replies.

2 REPLIES 2
jeelan
Occasional Visitor

Re: sun.security.provider.certpath.suncertpathbuilderexception unable to find valid certification pa

I am also facing same issue 5.6.0 version. 

KarelHusa
Frequent Contributor

Re: sun.security.provider.certpath.suncertpathbuilderexception unable to find valid certification pa

Hi @jeelan , @tayfun07 ,

I assume that your remote server is using a proprietary CA (Certificate Authority) or some self-signed certificate.

 

In such case your SoapUI stops the SSL handshake, because the remote certificate is not trustworthy.

 

You need to have a truststore with certificate of that CA, including intermediary certificates if necessary. Just check the certification path of the remote certificate. 

 

You can set the truststore either on global level in Preferences/SSL Settings/KeyStore or on the project level, see picture bellow.

 

KarelHusa_0-1634896443149.png

There is a feature request for an option to ignore certificate validation errors: https://community.smartbear.com/t5/SoapUI-Feature-Requests/An-option-to-ignore-SSL-certificate-issue...

In the time being this could be done on JVM level, but setting up a keystore/truststore is more straightforward.

 

Best regards,

Karel

 

cancel
Showing results for 
Search instead for 
Did you mean: