You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow CRL verification to not require all level CA's CRL. #18268
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.
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
incfly commentedon Sep 27, 2021
@htuch @lizan @PiotrSikora @ggreenway FYI ^
lizan commentedon Sep 27, 2021
Sounds reasonable to me.
Shikugawa commentedon Sep 28, 2021
I'm taking on this and will send PR within today.
tls: allow cert validation by only leaf trusted CA's CRL (#18289)