snapdropCert.cnf 995 B

1234567891011121314151617181920212223242526272829
  1. [ req ]
  2. default_bits = 2048
  3. default_md = sha256
  4. default_days = 1
  5. encrypt_key = no
  6. distinguished_name = subject
  7. req_extensions = req_ext
  8. string_mask = utf8only
  9. prompt = no
  10. [ subject ]
  11. organizationName = Snapdrop
  12. OU = Development
  13. # Use a friendly name here because it's presented to the user. The server's DNS
  14. # names are placed in Subject Alternate Names. Plus, DNS names here is deprecated
  15. # by both IETF and CA/Browser Forums. If you place a DNS name here, then you
  16. # must include the DNS name in the SAN too (otherwise, Chrome and others that
  17. # strictly follow the CA/Browser Baseline Requirements will fail).
  18. commonName = ${ENV::FQDN}
  19. [ req_ext ]
  20. subjectKeyIdentifier = hash
  21. basicConstraints = CA:FALSE
  22. keyUsage = digitalSignature, keyEncipherment
  23. subjectAltName = DNS:${ENV::FQDN}
  24. nsComment = "OpenSSL Generated Certificate"
  25. extendedKeyUsage = serverAuth