blob: aa0acc102635c560f5305bd618e54d85e0b9e31f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|