Forum Discussion

piakpiak's avatar
piakpiak
New Member
10 years ago

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated only when going through Proxy

Hi All,

 

I am having an issue with SOAPUI 5.0 where I need to test on an external web service running on HTTPS.

 

When I bypass the proxy, it is working fine. Issue only occur when I configured in SOAPUI tor go through a Proxy. I am receiving this error "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated".

 

I have been reading through the forums and also did the following steps below but still facing the same issue.

 

Steps I did:

 

First Attempt:

Add the .pfx certificate in SOAPUI SSL Settings and check "Client Authentation" - Results still the same.

 

- export the signing certificate from my Firefox certificate store into a file
- add the certificate to SoapUI's cacerts file with keytool -import -alias <alias> -file <cer> -keystore cacerts -storepass changeit

<alias> must be a unique name in the cacerts file (the keystore), but keytool warn you, if you try to overwrite. I chose the same name as my firefox displays it.
<cer> is the file where the export from Firefox has gone to.

Results - still the same.

 

Seems like there is still a SSL Server certificate validation by SOAPUI. I can confirm that the Proxy is not doing SSL Intercept. 

 

Please advise.

 

Thanks.

No RepliesBe the first to reply