forked from TrueCloudLab/certificates
Merge pull request #1293 from LarsBingBong/patch-1
Mark the IDP critical in the generated CRL data.
This commit is contained in:
commit
23423814d3
1 changed files with 1 additions and 1 deletions
|
@ -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},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue