CACreateCert: support --request and --utf8master
commit5f93424292120eadf971417a3a25096dcd62a26b
authorKyle J. McKay <mackyle@gmail.com>
Sun, 3 Dec 2017 23:57:43 +0000 (3 15:57 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 3 Dec 2017 23:57:43 +0000 (3 15:57 -0800)
treec911b5d425016e26e16862f15c72e5843133a0d6
parent2b9639ec1432f18a0e9e5e424810fa329f6ec617
CACreateCert: support --request and --utf8

With --request output a Certificate Signing Request instead of an
X.509 certificate.

With --utf8 always use UTF8String to encode strings that would
otherwise be encoded as PrintableString and are allowed to alternatively
be encoded as UTF8String.

Note that it may be necessary to use both the --no-extensions and
--utf8 options to generate a byte-exact match for `openssl req -new`
output.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
CACreateCert