I have a mapping application that can add ArcGIS 9.3+ base maps given a URL. One of the URLs that I would like to add is from a customer's URL and is secured. My mapping application was using Java 6 before and was able to add the secure URL with no issues. I now upgraded to Java 7 and am getting a
"java.security.cert.CertificateException: Certificates does not conform to algorithm constraints"
exception. At first, I believe this to be the case because in Java 7, by default, the MD2
algorithm to sign SSL certificates is disabled. You can see this in the java.security file:
"jdk.certpath.disabledAlgorithms=MD2"
But when I check the Certification Signature Algorithm
of that URL, it says SHA-1
. What is even more strange is if I comment out the "jdk.certpath.disabledAlgorithms=MD2"
line in the java.security
file, the URL will work with no issues. Is MD2
used somewhere else during the SSL process? Am I missing something here?
java.security
file hasjdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
. I'm using OpenJDK 7. – Firmin