29 lines
480 B
Plaintext
29 lines
480 B
Plaintext
|
# 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
|
||
|
subjectAltName = @alt_names
|
||
|
|
||
|
[ req_distinguished_name ]
|
||
|
C=FR
|
||
|
ST=Ile de France
|
||
|
L=Paris
|
||
|
O=Dailymoton Fake PKI
|
||
|
CN=localhost
|
||
|
|
||
|
[ v3_req ]
|
||
|
basicConstraints = CA:FALSE
|
||
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
||
|
|
||
|
[ alt_names ]
|
||
|
DNS.1 = ldap
|
||
|
DNS.2 = localhost
|
||
|
|
||
|
|