certstrap icon indicating copy to clipboard operation
certstrap copied to clipboard

Add support for EKUs (and fix ./test)

Open mrnerdhair opened this issue 7 years ago • 1 comments

Add a parameter to support issuing certificates with custom EKUs. (Use case: I need to issue certificates with BitLocker OIDs in the EKU extension.) I hope to extend this in the future to include shorthand strings for common EKUs, like OpenSSL's clientAuth and serverAuth keywords. This code also provides a nice place for future development to add arbitrary extensions of any type, right before cmd/request_cert.go:177.

(Also, fixes a couple format string errors preventing ./test from working.)

mrnerdhair avatar Jul 31 '18 15:07 mrnerdhair

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 31 '18 15:07 CLAassistant