Wednesday, September 13, 2017

Certificates does not conform to algorithm constraints

I have a test that makes a simple REST call with java. I was getting this error:

Certificates does not conform to algorithm constraints

The solution was to run with the following:

-Djdk.tls.client.protocols="TLSv1,TLSv1.1"

Source: https://stackoverflow.com/questions/14149545/java-security-cert-certificateexception-certificates-does-not-conform-to-algori