-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcert.conf
More file actions
51 lines (35 loc) · 1.34 KB
/
cert.conf
File metadata and controls
51 lines (35 loc) · 1.34 KB
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
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
[ subject ]
countryName = Country Name (2 letter code)
countryName_default = VN
stateOrProvinceName = State or Province Name (full name)
stateOrProvinceName_default = Ha Noi
localityName = Locality Name (eg, city)
localityName_default = Ha Noi
organizationName = Organization Name (eg, company)
organizationName_default = Duc Developer
commonName = Common Name (e.g. server FQDN or YOUR name)
commonName_default = develop.local
emailAddress = Email Address
emailAddress_default = duc.daovan0709@gmail.com
[ 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 ]
DNS.1 = {{DOMAIN}}