29 lines
499 B
INI
29 lines
499 B
INI
# http://spin.atomicobject.com/2014/05/12/openssl-commands/
|
|
[ req ]
|
|
prompt = no
|
|
default_bits = 2048
|
|
encrypt_key = no
|
|
distinguished_name = req_distinguished_name
|
|
|
|
string_mask = utf8only
|
|
|
|
#req_extensions = v3_req
|
|
|
|
[ req_distinguished_name ]
|
|
C=FR
|
|
ST=Ile de France
|
|
L=Paris
|
|
O=Example Fake PKI
|
|
CN=ldap.example.org
|
|
|
|
[ req_ext ]
|
|
subjectAltName = @alt_names
|
|
|
|
[ alt_names ]
|
|
DNS.1 = localhost
|
|
DNS.2 = ldap
|
|
#[ v3_req ]
|
|
|
|
#basicConstraints = CA:FALSE
|
|
#keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|