Hello,

I recognize that some aspects of this question concern client 
authentication and may be outside the primary scope of the Server 
Certificate Working Group.

However, this question also concerns the revocation of a Subordinate CA 
certificate with no Extended Key Usage extension under a publicly trusted 
Root CA, and the possible impact of browser, operating-system, and 
trust-store revocation or distrust mechanisms on another Subordinate CA 
certificate sharing the same public key.

We are particularly interested in information or implementation experience 
concerning Google Chrome, Mozilla Firefox, Apple platforms, Microsoft 
Windows, and other major trust-store or TLS implementations.

We are not asking any participant to speak on behalf of another Root 
Program. If this question, or part of it, would be more appropriate for 
another forum or for direct communication with a Root Program, guidance 
would also be appreciated.
Background

A publicly trusted Root CA has issued the following two Subordinate CA 
certificates.
Subordinate CA certificate A
   
   - Subject: Same as certificate B
   - Subject Public Key Info (SPKI): Same as certificate B
   - Subject Key Identifier (SKI): Same as certificate B
   - Serial Number: Different from certificate B
   - Extended Key Usage: Not present
   - Planned status: To be revoked with the CRL reason code superseded

Subordinate CA certificate B
   
   - Subject: Same as certificate A
   - Subject Public Key Info (SPKI): Same as certificate A
   - Subject Key Identifier (SKI): Same as certificate A
   - Serial Number: Different from certificate A
   - Extended Key Usage: id-kp-clientAuth only
   - Status: Valid and not revoked

Certificates A and B contain the same public key and are associated with 
the same private key.

The shared private key has not been compromised. The planned revocation of 
certificate A is not related to keyCompromise or cACompromise. Certificate 
A will be revoked with the CRL reason code superseded.

Only the serial number of certificate A will be included in the parent CA’s 
CRL. The serial number of certificate B will not be included in the CRL.

Certificate B is intended to remain in use only for client authentication.

Under normal X.509 CRL processing, our understanding is that certificates A 
and B are distinct certificates because they have different serial numbers. 
Therefore, revoking certificate A should not, by itself, cause certificate 
B to be treated as revoked.

We would like to confirm whether any browser, operating-system, 
trust-store, or TLS implementation could behave differently because 
certificates A and B share the same Subject, SPKI, and SKI.
1. Certificate-level versus SPKI-level revocation or distrust

Could the revocation of certificate A with the CRL reason code superseded cause 
certificate B to be blocked, distrusted, or otherwise made unusable because 
the two certificates share the same SPKI?

In particular, could certificate B be affected even though:

   - certificates A and B have different serial numbers;
   - only certificate A is listed in the parent CA’s CRL;
   - certificate B is valid and not revoked;
   - certificate B is restricted to id-kp-clientAuth;
   - certificate A is revoked with the reason code superseded; and
   - the shared private key has not been compromised?

Are browser-specific or operating-system-specific revocation and distrust 
entries normally associated with an individual certificate, for example by 
issuer and serial number, or can they be associated with an SPKI and 
therefore affect every certificate sharing the same public key?

We understand that SPKI-level blocking may be appropriate in cases 
involving actual private-key compromise or similarly severe security 
incidents.

However, does the ordinary revocation of certificate A as superseded create 
any possibility that certificate B could be included in, or affected by, 
mechanisms such as:

   - Chrome CRLSet or other Chrome distrust mechanisms;
   - Mozilla OneCRL or other Firefox/NSS distrust mechanisms;
   - Apple trust services;
   - Microsoft Trusted Root Program mechanisms, Windows Certificate Trust 
   Lists, or other Windows-specific revocation or distrust mechanisms;
   - operating-system certificate blocklists; or
   - other implementation-specific public-key or SPKI blocklists?

2. Client authentication when certificate A remains installed

Initially, certificate A may remain installed in some client environments 
after it has been revoked. Certificate B may not initially be installed in 
those environments.

The end-entity client certificates issued under this Subordinate CA key 
will not be revoked or replaced.

In this situation, could a client check the revocation status of 
certificate A while selecting or constructing its own certificate chain for 
mutual TLS authentication and then:

   - exclude the corresponding end-entity client certificate from 
   certificate selection;
   - decline to send the client certificate;
   - terminate the TLS handshake; or
   - otherwise fail before sending the application request?

Alternatively, is the revocation status of the Subordinate CA certificate 
normally evaluated only by the server or other relying party that validates 
the received client certificate chain?

We understand that TLS does not necessarily require every client 
implementation to perform revocation checking on its own outgoing 
client-certificate chain. We also understand that certificate selection and 
path construction may depend on the browser, operating system, TLS library, 
certificate store, and local configuration.

We would therefore appreciate information about any known behavior in 
Chrome, Firefox, Apple platforms, Microsoft Windows CryptoAPI and Schannel, 
NSS, OpenSSL, Java, or other commonly used implementations.
3. Manual replacement with certificate B as a possible mitigation

If leaving the revoked certificate A in a client environment could cause 
client authentication to fail, we would consider manually replacing 
certificate A with certificate B in the affected client environments.

In that case:

   - certificate A would be removed from the client environment;
   - certificate B would be installed and used instead;
   - the end-entity client certificate would not be replaced;
   - certificate B would remain valid and would not be listed in the parent 
   CA’s CRL; and
   - only certificate A would be revoked with the reason code superseded.

Because certificates A and B contain the same Subject and public key, the 
signature on an existing end-entity client certificate can be verified 
using the public key in certificate B, subject to all other 
certification-path validation requirements.

Our understanding is that mutual TLS authentication should be able to 
continue after this manual replacement, provided that:

   - the client sends a certificate chain containing certificate B, or the 
   server can otherwise construct a valid certification path through 
   certificate B;
   - certificate B is valid for client authentication;
   - certificate B is not revoked; and
   - the server accepts and successfully validates the certification path 
   through certificate B.

Is this understanding correct?

Could authentication still fail after the manual replacement because 
certificates A and B have the same Subject, SPKI, and SKI?

For example, could any of the following cause certificate B to be treated 
as revoked or distrusted after certificate A has been revoked?

   - cached certification paths;
   - cached revocation information;
   - certificate-chain construction or path-selection behavior;
   - a blocklist entry associated with the shared SPKI;
   - Microsoft Windows certificate-chain engine caching or Certificate 
   Trust List processing; or
   - another implementation-specific mechanism that does not distinguish 
   the certificates by issuer and serial number?

Questions

In summary, we would appreciate clarification on the following points:

   1. If only certificate A’s serial number is included in the parent CA’s 
   CRL with the reason code superseded, should implementations normally 
   treat only certificate A as revoked?
   2. Could a browser, operating system, Root Program, or other trust 
   mechanism also affect certificate B because it shares the same SPKI with 
   certificate A?
   3. Could leaving the revoked certificate A in a client environment 
   affect the selection or transmission of an end-entity client certificate 
   during mutual TLS authentication?
   4. If such a problem is possible, would manually replacing certificate A 
   with certificate B normally avoid it?
   5. Are there any known implementation behaviors, test results, 
   incidents, or documented cases involving this type of configuration?

Any information concerning Chrome, Firefox/NSS, Apple platforms, Microsoft 
Windows and CryptoAPI/Schannel, OpenSSL, Java, or other relevant 
implementations would be greatly appreciated.

Thank you.

ONO Fumiaki / 大野 文彰
(Japanese name order; family name in uppercase)
SECOM Trust Systems CO., LTD.

-- 
You received this message because you are subscribed to the Google Groups 
"Server Certificate WG (CA/B Forum)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/groups.cabforum.org/d/msgid/servercert-wg/2fd17de0-63d5-4a3e-8b61-eb2dce2b08afn%40groups.cabforum.org.

Reply via email to