paulprogrammer
12 years agoNew Contributor
how to turn off server certificate validation?
Hi All,
I'm trying to connect to a server that is presenting a self-signed snake-oil certificate. The SoapUI client is responding with a "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated". This looks like the client is attempting to verify the certificate chain, but obviously can't since there's no CA.
Is there a way to turn off server certificate chain verification, or use an external root ca keystore where I can add my snake oil certificate to avoid this?
I'm trying to connect to a server that is presenting a self-signed snake-oil certificate. The SoapUI client is responding with a "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated". This looks like the client is attempting to verify the certificate chain, but obviously can't since there's no CA.
Is there a way to turn off server certificate chain verification, or use an external root ca keystore where I can add my snake oil certificate to avoid this?