Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ca.conf 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # Written by Christian Heimes
  2. [default]
  3. ca = "ca"
  4. tmpdir = $ENV::CATMPDIR
  5. outdir = $ENV::CAOUTDIR
  6. name_opt = multiline,-esc_msb,utf8
  7. [req]
  8. default_bits = 2048
  9. encrypt_key = no
  10. default_md = sha256
  11. utf8 = yes
  12. string_mask = utf8only
  13. prompt = no
  14. distinguished_name = ca_dn
  15. [ca_dn]
  16. countryName = "DE"
  17. organizationName = "python-ldap"
  18. organizationalUnitName = "slapd-test"
  19. commonName = "Python LDAP Test CA"
  20. [ca]
  21. default_ca = python_ldap_ca
  22. [python_ldap_ca]
  23. certificate = $outdir/$ca.pem
  24. private_key = $outdir/$ca.key
  25. new_certs_dir = $tmpdir
  26. serial = $tmpdir/$ca.crt.srl
  27. crlnumber = $tmpdir/$ca.crl.srl
  28. database = $tmpdir/$ca.db
  29. unique_subject = no
  30. default_days = 3652
  31. default_md = sha256
  32. policy = match_pol
  33. email_in_dn = no
  34. preserve = no
  35. name_opt = $name_opt
  36. cert_opt = ca_default
  37. copy_extensions = none
  38. default_crl_days = 3651
  39. [match_pol]
  40. countryName = match
  41. stateOrProvinceName = optional
  42. localityName = optional
  43. organizationName = match
  44. organizationalUnitName = match
  45. commonName = supplied
  46. [ca_ext]
  47. basicConstraints = critical,CA:true
  48. keyUsage = critical,keyCertSign,cRLSign
  49. subjectKeyIdentifier = hash
  50. authorityKeyIdentifier = keyid:always
  51. [server_san]
  52. DNS.1 = localhost
  53. IP.1 = 127.0.0.1
  54. IP.2 = ::1
  55. [server_ext]
  56. basicConstraints = critical,CA:false
  57. keyUsage = critical,digitalSignature,keyEncipherment
  58. extendedKeyUsage = critical,serverAuth
  59. subjectKeyIdentifier = hash
  60. authorityKeyIdentifier = keyid:always
  61. subjectAltName = @server_san
  62. [client_ext]
  63. basicConstraints = critical,CA:false
  64. keyUsage = critical,digitalSignature
  65. extendedKeyUsage = critical,clientAuth
  66. subjectKeyIdentifier = hash
  67. authorityKeyIdentifier = keyid:always