2
0

proxy.cnf 1.7 KB

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