Two-way SSL for REST
Hi,
Tried unsuccessfully to get two-way SSL to work with the latest version of SoapUI (5.3.0).
Followed this guide:
I have a SSL key pair stored in a pfx with a password.
The keystore is referred to in SoapUI settings and the password added there. "Requires client authentication" checkbox selected.
I'm verifying using an openssl server that the client doesn't provide a certificate:
4294956672:error:140890C7:SSL routines:ssl3_get_client_certificate:peer did not return a certificate:s3_srvr.c:3296:
SoapUI says "java.net.SocketException: Software caused connection abort: recv failed"
Testing with a browser against the same server prompts me to provide the certificate and the same pfx works in the browser.
Am I missing something or is something broken in this version? I'm pretty sure I did exactly this in SoapUI a few years back.
Ok, seems describing your issue helps with the troubleshooting. I found this description of the issue:
http://stackoverflow.com/questions/32912965/undefined-commonname-in-certificate
Basically my certificate lacks a common name (CN), thus the NPE.