From 134b4d2a4236857aecb4ac7e0e559220495dd090 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 29 Dec 2015 13:07:24 -0500 Subject: [PATCH] Built on GH-890 to add other types --- builtin/logical/pki/cert_util.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builtin/logical/pki/cert_util.go b/builtin/logical/pki/cert_util.go index d2aaf8add..970b3f119 100644 --- a/builtin/logical/pki/cert_util.go +++ b/builtin/logical/pki/cert_util.go @@ -691,6 +691,10 @@ func addKeyUsages(creationInfo *creationBundle, certTemplate *x509.Certificate) x509.ExtKeyUsageAny, x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth, + x509.ExtKeyUsageCodeSigning, + x509.ExtKeyUsageEmailProtection, + x509.ExtKeyUsageTimeStamping, + x509.ExtKeyUsageOCSPSigning, } } }