MD2withRSA is disabled

请求https报以一错误:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: algorithm check failed: MD2withRSA is disabled

 

原因jdk bug :

版本在 Jdk-6u17 到 Jdk-6u20 会出现此错误

如果是在这个区间的 请降级或升级jdk ,如果服务器在这个区间就悲剧了

 

http://stackoverflow.com/questions/8834840/how-to-access-https-website-where-md2withrsa-is-disabled-is-encountered

你可能感兴趣的:(jdk)