-
Notifications
You must be signed in to change notification settings - Fork 0
/
openssl.cnf
27 lines (27 loc) · 903 Bytes
/
openssl.cnf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# openssl genrsa -out rootCA.key 2048
# openssl req -new -x509 -key rootCA.key -out rootCA.crt -config openssl.cnf -days 365
# openssl req -new -keyout hornsup.key -out hornsup.csr -config openssl.cnf
[ req ]
default_bits = 2048
default_md = sha256
prompt = no
encrypt_key = no
distinguished_name = hornsup
# rootCA
[ rootCA ]
countryName = "US"
stateOrProvinceName = "TX"
localityName = "Denton"
organizationName = "Brian LLC"
organizationalUnitName = "prod"
commonName = "Brian LLC rootCA"
emailAddress = "[email protected]"
# hornsup
[ hornsup ]
countryName = "US"
stateOrProvinceName = "TX"
localityName = "Denton"
organizationName = "Brian LLC"
organizationalUnitName = "Brian LLC"
commonName = "hornsup"
emailAddress = "[email protected]"