[security-dev 00883]: hg: jdk7/tl/jdk: 6847459: Allow trust anchor self-issued intermediate version 1 and version 2 certificate

2009-06-03 Thread xuelei . fan
Changeset: 045743e0eb2d Author:xuelei Date: 2009-06-04 11:28 +0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/045743e0eb2d 6847459: Allow trust anchor self-issued intermediate version 1 and version 2 certificate Reviewed-by: weijun ! src/share/classes/sun/security/provider/ce

[security-dev 00882]: Re: CR 6847459 Created, P3 java/classes_secu Allow trust anchor self-issued intermediate version 1 and version 2 certificate

2009-06-03 Thread Xuelei Fan
Florian Weimer wrote: What does self-issued mean? Is it the same as self-signed? Wouldn't it break the chain in that case? Self-issued certificates are those certificates in which the subject and issuer are the same entity. Self-signed certificate is a sub type of self-issued certificate

[security-dev 00881]: Re: CR 6847459 Created, P3 java/classes_secu Allow trust anchor self-issued intermediate version 1 and version 2 certificate

2009-06-03 Thread Florian Weimer
* Xuelei Fan: >> One question: what's the version of the trust anchor in the failed test? >> Is it v1? > It is V1, and issue a self-issued V1 certificate for renew the private > key, so there is a intermediate V1 CA cert. What does self-issued mean? Is it the same as self-signed? Wouldn't it b

[security-dev 00880]: Re: CR 6847459 Created, P3 java/classes_secu Allow trust anchor self-issued intermediate version 1 and version 2 certificate

2009-06-03 Thread Weijun Wang
Xuelei Fan wrote: > > > Weijun Wang wrote: >> Maybe you can be even more strict: If the trust anchor (cert[0]) is >> already v3, cert[1] must also be v3. Is this reasonable? >> >> > Currently, the checker know nothing about the trust anchor. If we > support above checking, we need to update

[security-dev 00879]: Re: CR 6847459 Created, P3 java/classes_secu Allow trust anchor self-issued intermediate version 1 and version 2 certificate

2009-06-03 Thread Xuelei Fan
Weijun Wang wrote: Maybe you can be even more strict: If the trust anchor (cert[0]) is already v3, cert[1] must also be v3. Is this reasonable? Currently, the checker know nothing about the trust anchor. If we support above checking, we need to update the checker and let it know the trust

[security-dev 00878]: Re: CR 6847459 Created, P3 java/classes_secu Allow trust anchor self-issued intermediate version 1 and version 2 certificate

2009-06-03 Thread Weijun Wang
Maybe you can be even more strict: If the trust anchor (cert[0]) is already v3, cert[1] must also be v3. Is this reasonable? Max Xuelei Fan wrote: > > > Weijun Wang wrote: >> Xuelei Fan wrote: >> >>> Weijun Wang wrote: >>> +// We choose to reject all version 1 and version 2 inter

[security-dev 00877]: Re: CR 6847459 Created, P3 java/classes_secu Allow trust anchor self-issued intermediate version 1 and version 2 certificate

2009-06-03 Thread Xuelei Fan
Weijun Wang wrote: Xuelei Fan wrote: Weijun Wang wrote: +// We choose to reject all version 1 and version 2 intermediate +// certificates except that it is self issued by the trust +// anchor in order to support key rollover or changes in +// certificate policies. +