http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6948803
jdk 19에서 아래와 같은 문제가 밸생할 수 있다.
algorithm check failed: MD2withRSA is disabled
http://kr.forums.oracle.com/forums/thread.jspa?threadID=1237743&start=0&tstart=0
토의 내용
http://mail.openjdk.java.net/pipermail/jdk6-dev/2010-May/001609.html
| Bug ID: |
6948803 |
| Votes |
0 |
| Synopsis |
CertPath validation regression caused by SHA1 replacement root and MD2 disable feature |
| Category |
java:classes_security |
| Reported Against |
|
| Release Fixed |
6u21(b05), 7(b97) (Bug ID:2193256) |
| State |
10-Fix Delivered, bug |
| Priority: |
2-High |
| Related Bugs |
6861062 , 6904162 , 2194455 , 7017668 |
| Submit Date |
30-APR-2010 |
| Description |
In 6u19, several VeriSign MD2/MD5 root certificates were replaced with stronger SHA1 versions (same key, stronger signature). Some customers using certificates issued from the VeriSign PCA 3 root have been reporting problems that cause their existing certificate chains to be rejected by the JRE because the certificate chain still includes the weaker MD2 root and we disabled MD2 support in 6u17.
The problem is that our certpath validation implementation adds the SHA1 root to the beginning of the chain but does not replace the existing MD2 root. So the chain includes both roots, first the SHA1, then the MD2 and then the rest of the chain. The chain is rejected because the MD2 root is treated as an intermediate CA cert.
It seems our implementation should instead replace the MD2 root with the stronger SHA1 root before validating the chain.
Posted Date : 2010-04-30 13:38:51.0
|
| Work Around |
Their are a few ways to workaround the issue. For TLS, the server's certificate chain can be reconfigured so that either the MD2 root certificate is not included in the chain (including the root cert is optional in TLS), or it should be replaced with the SHA1 root certificate.
For code signing, you can re-sign the jar and include a chain with the SHA1 root instead of the MD2 root, or a chain without the root cert. |
| Evaluation |
Fixed. A cert with the same issuer and public key as a trusted anchor is removed from the chain.
Posted Date : 2010-05-18 10:43:09.0
|
| Comments |
PLEASE NOTE: JDK6 is formerly known as Project Mustang |
|
oracle java 6 update 21에서 패치되었다.
http://www.oracle.com/technetwork/java/javase/bugfixes6u21-156339.html
| 6948803 |
java |
classes_security |
CertPath validation regression caused by SHA1 replacement root and MD2 disable feature |
Posted by 김용환 '김용환'
댓글을 달아 주세요