2
0

proxy.cnf 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ## Config file for proxy certificate testing.
  2. # Comment out the next line to ignore configuration errors
  3. config_diagnostics = 1
  4. [ req ]
  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. distinguished_name = req_distinguished_name_p2
  27. encrypt_rsa_key = no
  28. default_md = sha256
  29. [ req_distinguished_name_p2 ]
  30. countryName = Country Name (2 letter code)
  31. countryName_value = AU
  32. organizationName = Organization Name (eg, company)
  33. organizationName_value = Dodgy Brothers
  34. 0.commonName = Common Name (eg, YOUR name)
  35. 0.commonName_value = Brother 1
  36. 1.commonName = Common Name (eg, YOUR name)
  37. 1.commonName_value = Brother 2
  38. 2.commonName = Common Name (eg, YOUR name)
  39. 2.commonName_value = Proxy 1
  40. 3.commonName = Common Name (eg, YOUR name)
  41. 3.commonName_value = Proxy 2
  42. [ proxy_2 ]
  43. basicConstraints = CA:FALSE
  44. subjectKeyIdentifier = hash
  45. authorityKeyIdentifier = keyid,issuer:always
  46. proxyCertInfo = critical,@proxy_ext
  47. [ proxy_ext ]
  48. language = id-ppl-anyLanguage
  49. pathlen = 0
  50. policy = text:BC