rustls-example/certs/host/host.conf

44 lines
921 B
Plaintext
Raw Normal View History

2024-08-05 16:52:19 +09:00
# Modify this files to your needs
[req]
default_bits = 384
distinguished_name = dn
default_md = sha256
prompt = no
req_extensions = req_ext
[dn]
C="KR"
ST="Seoul"
L="Seoul"
O="SCOPE.Inc"
OU="SCOPE Lab"
emailAddress="jay3920@scope.co.kr"
2024-08-07 18:04:14 +09:00
CN="Jay Test Certificate"
2024-08-05 16:52:19 +09:00
[req_ext]
subjectAltName = @alt_names
[ v3_ext]
authorityKeyIdentifier = keyid,issuer:always
basicConstraints = CA:FALSE
subjectKeyIdentifier = hash
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names
[ v3_ext_client]
authorityKeyIdentifier = keyid,issuer:always
basicConstraints = CA:FALSE
subjectKeyIdentifier = hash
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
extendedKeyUsage = clientAuth
subjectAltName = @alt_names
[alt_names]
DNS.1 = www.scope.co.kr
DNS.2 = *.scope.co.kr
IP.1 = 10.1.3.63
IP.2 = 10.1.3.69
IP.3 = 10.1.3.80