1
0
mirror of https://github.com/go-acme/lego.git synced 2025-06-06 18:46:15 +02:00

Fix OCSP must staple.

Fixes #327
This commit is contained in:
xenolf 2016-12-06 08:41:28 +01:00
parent cc94601612
commit cbd5d04c89

View File

@ -226,7 +226,7 @@ func generateCsr(privateKey crypto.PrivateKey, domain string, san []string, must
} }
if mustStaple { if mustStaple {
template.Extensions = append(template.Extensions, pkix.Extension{ template.ExtraExtensions = append(template.ExtraExtensions, pkix.Extension{
Id: tlsFeatureExtensionOID, Id: tlsFeatureExtensionOID,
Value: ocspMustStapleFeature, Value: ocspMustStapleFeature,
}) })