# Based on https://www.feistyduck.com/library/openssl-cookbook/online/openssl-command-line/private-ca-create-subordinate.html
[req]
prompt = no
distinguished_name = dn
req_extensions = ext
[dn]
CN = test-server
[ext]
subjectAltName = DNS:localhost,IP:127.0.0.1,IP:::1