wolfssl_srv.conf 1.1 KB

1234567891011121314151617181920212223242526
  1. ############################################
  2. # OpenSSL config: generate server key/csr
  3. ############################################
  4. # Certificate request
  5. [ req ]
  6. default_bits = 2048 # RSA key size
  7. encrypt_key = no # Encrypted CA private key
  8. default_md = sha256 # Message Digest to use
  9. utf8 = yes # Input is UTF-8
  10. string_mask = utf8only # Emit UTF-8 strings
  11. prompt = no # Don't prompt for DN
  12. distinguished_name = server_dn # DN section
  13. req_extensions = server_ext # Desired extensions
  14. # Server certificate info
  15. [ server_dn ]
  16. countryName = "US"
  17. stateOrProvinceName = "Wahington"
  18. organizationName = "Seattle"
  19. localityName = "wolfSSL"
  20. organizationalUnitName = "Support"
  21. commonName = "www.wolfssl.com"
  22. # Extension - add alternative name to cert
  23. [ server_ext ]
  24. subjectAltName = "DNS:www.wolfssl.com,DNS:wolfssl.jp"