CertificateException with async-http-client for https
问题 I started having problems accessing a https://ws.plimus.com/ with async-http-client a few days ago. I get a "General SSLEngine problem" messages, and in the stack trace I can see it is caused by java.security.cert.CertificateException: Certificates does not conform to algorithm constraints This SO question describes basically the same thing. Commenting out the line in java.security makes the error go away, but I assume there is good reason for MD2 to be disabled. Using Raman's answer for