server.cnf 271 B

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