Merge pull request #1293 from LarsBingBong/patch-1

Mark the IDP critical in the generated CRL data.
This commit is contained in:
Mariano Cano 2023-02-24 14:58:32 -08:00 committed by GitHub
commit 23423814d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -786,7 +786,7 @@ func (a *Authority) GenerateCertificateRevocationList() error {
// Note that this is currently using the port 443 by default. // Note that this is currently using the port 443 by default.
if b, err := marshalDistributionPoint(fullName, false); err == nil { if b, err := marshalDistributionPoint(fullName, false); err == nil {
revocationList.ExtraExtensions = []pkix.Extension{ revocationList.ExtraExtensions = []pkix.Extension{
{Id: oidExtensionIssuingDistributionPoint, Value: b}, {Id: oidExtensionIssuingDistributionPoint, Critical: true, Value: b},
} }
} }