diff options
Diffstat (limited to 'build/certs/with-ku.conf')
-rw-r--r-- | build/certs/with-ku.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/build/certs/with-ku.conf b/build/certs/with-ku.conf new file mode 100644 index 0000000..aa0acc1 --- /dev/null +++ b/build/certs/with-ku.conf @@ -0,0 +1,19 @@ +# +# Use with the following command +# $ openssl req -new -x509 -outform DER -out self-signed-with-eku.pem \ +# -newkey rsa -keyout self-signed-with-eku.key -nodes \ +# -config with-eku.conf -set_serial 888 -extensions v3_ca +# + +[ req ] +default_bits = 1024 +distinguished_name = req_distinguished_name +x509_extensions = v3_ca +dirstring_type = nobmp + +[ req_distinguished_name ] +commonName = Common Name +commonName_max = 64 + +[ v3_ca ] +extendedKeyUsage=clientAuth,emailProtection,1.2.3.4
\ No newline at end of file |