snapdropCA.cnf 731 B

1234567891011121314151617181920212223242526
  1. [ req ]
  2. default_bits = 2048
  3. default_md = sha256
  4. default_days = 1
  5. encrypt_key = no
  6. distinguished_name = subject
  7. x509_extensions = x509_ext
  8. string_mask = utf8only
  9. prompt = no
  10. [ subject ]
  11. organizationName = Snapdrop
  12. OU = CA
  13. commonName = snapdrop-CA
  14. [ x509_ext ]
  15. subjectKeyIdentifier = hash
  16. authorityKeyIdentifier = keyid:always,issuer
  17. # You only need digitalSignature below. *If* you don't allow
  18. # RSA Key transport (i.e., you use ephemeral cipher suites), then
  19. # omit keyEncipherment because that's key transport.
  20. basicConstraints = critical, CA:TRUE, pathlen:0
  21. keyUsage = critical, digitalSignature, keyEncipherment, cRLSign, keyCertSign