proxy.cnf 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ## Config file for proxy certificate testing.
  2. [ req ]
  3. default_bits = 2048
  4. default_keyfile = keySS.pem
  5. distinguished_name = req_distinguished_name_p1
  6. encrypt_rsa_key = no
  7. default_md = sha256
  8. [ req_distinguished_name_p1 ]
  9. countryName = Country Name (2 letter code)
  10. countryName_value = AU
  11. organizationName = Organization Name (eg, company)
  12. organizationName_value = Dodgy Brothers
  13. 0.commonName = Common Name (eg, YOUR name)
  14. 0.commonName_value = Brother 1
  15. 1.commonName = Common Name (eg, YOUR name)
  16. 1.commonName_value = Brother 2
  17. 2.commonName = Common Name (eg, YOUR name)
  18. 2.commonName_value = Proxy 1
  19. [ proxy ]
  20. basicConstraints = CA:FALSE
  21. subjectKeyIdentifier = hash
  22. authorityKeyIdentifier = keyid,issuer:always
  23. proxyCertInfo = critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
  24. ####################################################################
  25. [ proxy2_req ]
  26. default_bits = 2048
  27. default_keyfile = keySS.pem
  28. distinguished_name = req_distinguished_name_p2
  29. encrypt_rsa_key = no
  30. default_md = sha256
  31. [ req_distinguished_name_p2 ]
  32. countryName = Country Name (2 letter code)
  33. countryName_value = AU
  34. organizationName = Organization Name (eg, company)
  35. organizationName_value = Dodgy Brothers
  36. 0.commonName = Common Name (eg, YOUR name)
  37. 0.commonName_value = Brother 1
  38. 1.commonName = Common Name (eg, YOUR name)
  39. 1.commonName_value = Brother 2
  40. 2.commonName = Common Name (eg, YOUR name)
  41. 2.commonName_value = Proxy 1
  42. 3.commonName = Common Name (eg, YOUR name)
  43. 3.commonName_value = Proxy 2
  44. [ proxy_2 ]
  45. basicConstraints = CA:FALSE
  46. subjectKeyIdentifier = hash
  47. authorityKeyIdentifier = keyid,issuer:always
  48. proxyCertInfo = critical,@proxy_ext
  49. [ proxy_ext ]
  50. language = id-ppl-anyLanguage
  51. pathlen = 0
  52. policy = text:BC