-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenssl.conf
61 lines (43 loc) · 1.5 KB
/
openssl.conf
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[ req ]
default_bits = 2048
default_keyfile = ssl.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
[ subject ]
countryName = Country Name (2 letter code)
countryName_default = PH
stateOrProvinceName = State or Province Name (full name)
stateOrProvinceName_default = MANILA
localityName = Locality Name (eg, city)
localityName_default = Makati City
organizationName = Organization Name (eg, company)
organizationName_default = self
commonName = Common Name (e.g. server FQDN or YOUR name)
commonName_default = localhost
emailAddress = Email Address
emailAddress_default = localhost@localhost
[ x509_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid,issuer
basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment
subjectAltName = @alternate_names
nsComment = "OpenSSL Generated Certificate"
[ req_ext ]
subjectKeyIdentifier = hash
basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment
subjectAltName = @alternate_names
nsComment = "OpenSSL Generated Certificate"
[ alternate_names ]
#. You may add more DNS zones if you are
#. planning to use "hosts" to do networking
#.
#. Example:
#. DNS.1 = localhost
#. DNS.2 = sampledomain.com
#. DNS.3 = moredom.com
#.
DNS.1 = localhost