server.cnf 844 B

123456789101112131415161718192021222324252627282930313233343536
  1. [ req ]
  2. default_bits = 2048
  3. days = 9999
  4. distinguished_name = req_distinguished_name
  5. attributes = req_attributes
  6. prompt = no
  7. x509_extensions = v3_ca
  8. req_extensions = v3_req
  9. [ req_distinguished_name ]
  10. C = SE
  11. ST = Stockholm
  12. L = Stockholm
  13. CN = agentkeepalive.com
  14. [ req_attributes ]
  15. challengePassword = password
  16. [ v3_ca ]
  17. authorityInfoAccess = @issuer_info
  18. [ v3_req ]
  19. subjectAltName = @alt_names
  20. # Extensions to add to a certificate request
  21. basicConstraints = CA:FALSE
  22. keyUsage = nonRepudiation, digitalSignature, keyEncipherment
  23. [ issuer_info ]
  24. OCSP;URI.0 = http://ocsp.example.com/
  25. caIssuers;URI.0 = http://example.com/ca.cert
  26. [ alt_names ]
  27. IP.1 = 127.0.0.1
  28. IP.2 = ::1
  29. DNS.1 = localhost