I am getting the following exception while invoking https url in SOAP UI
.
java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
from the exception message i can understand it is a handshake error.
Can you help me in solving it?
After spending lot of time trying to figure out how to get around it, the solution is simple...
JDK7 changed the default Java security settings to disable MD2 algorithm to sign SSL certificates. BUT this can be re-enabled by editing:
%JDK_HOME%/jre/lib/security/java.security
NOTE: SOAP UI uses its own jre so the same needs to be commented in java.security file under soap ui directory for me it was in:
C:\SoapUI-5.1.3\jre\lib\security
Comment out this property:
jdk.certpath.disabledAlgorithms=MD2
#... becomes ...
#jdk.certpath.disabledAlgorithms=MD2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With