rustls-example/certs/host/host.conf
2024-08-05 17:01:24 +09:00

44 lines
913 B
Plaintext

# 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"
CN="Invalid Test"
[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