server-cert.prm 533 B

12345678910111213141516171819
  1. [ req ]
  2. prompt = no
  3. default_bits = 2432
  4. distinguished_name = req_DN
  5. default_md = sha256
  6. string_mask = utf8only
  7. #req_extensions = req_EXT
  8. [ req_DN ]
  9. CN = "localhost"
  10. [ req_EXT ]
  11. basicConstraints = CA:false
  12. subjectAltName = @alt_names
  13. extendedKeyUsage = serverAuth
  14. keyUsage = digitalSignature, keyEncipherment
  15. subjectKeyIdentifier = hash
  16. authorityKeyIdentifier = keyid
  17. [alt_names]
  18. DNS.1 = localhost