Skip to content

Allow CRL verification to not require all level CA's CRL. #18268

Closed

Description

@incfly

Description

Currently the certificate validation context CRL indicates that

Note that if a CRL is provided for any certificate authority in a trust chain, a CRL must be provided for all certificate authorities in that chain. Failure to do so will result in verification failure for both revoked and unrevoked certificates from that chain.

This is not applicable in some use cases we see. A service mesh deployments have multiple level PKI. The root is offline and beyond the control of the platform security team responsible for service mesh adoption. Only a subset of the intermediate CAs are within the control. But we still want to have abilities to revoke the cert and have the intermediate CA sign CRL.

Proposal

[1]

Here passes the X509_V_FLAG_CRL_CHECK| X509_V_FLAG_CRL_CHECK_ALL) to the function.

Add a configuration option in the CertificateValidationContext.crl_verify_all: true/false. Default to true(or an opposite field name with default to false). If configured crl_verify_all: false, we will not pass X509_V_FLAG_CRL_CHECK_ALL flag to the CRL validation function call.

Activity

  1. added
    enhancement
    triage
    on Sep 27, 2021
  2. incfly commented on Sep 27, 2021

    @incfly
    ContributorAuthor
  3. removed
    triage
    on Sep 27, 2021
  4. lizan commented on Sep 27, 2021

    @lizan
    Member

    Sounds reasonable to me.

  5. Shikugawa commented on Sep 28, 2021

    @Shikugawa
    Member

    I'm taking on this and will send PR within today.

  6. added a commit that references this issue on Nov 2, 2021
    56e8c45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions