ca-dir_openssl3.1.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. --- a/apps/CA.pl.in
  2. +++ b/apps/CA.pl.in
  3. @@ -29,7 +29,7 @@
  4. my $PKCS12 = "$openssl pkcs12";
  5. # Default values for various configuration settings.
  6. -my $CATOP = "./demoCA";
  7. +my $CATOP = "/etc/ssl";
  8. my $CAKEY = "cakey.pem";
  9. my $CAREQ = "careq.pem";
  10. my $CACERT = "cacert.pem";
  11. --- a/apps/openssl.cnf
  12. +++ b/apps/openssl.cnf
  13. @@ -79,7 +79,7 @@
  14. ####################################################################
  15. [ CA_default ]
  16. -dir = ./demoCA # Where everything is kept
  17. +dir = /etc/ssl # Where everything is kept
  18. certs = $dir/certs # Where the issued certs are kept
  19. crl_dir = $dir/crl # Where the issued crl are kept
  20. database = $dir/index.txt # database index file.
  21. @@ -309,7 +309,7 @@
  22. [ tsa_config1 ]
  23. # These are used by the TSA reply generation only.
  24. -dir = ./demoCA # TSA root directory
  25. +dir = /etc/ssl # TSA root directory
  26. serial = $dir/tsaserial # The current serial number (mandatory)
  27. crypto_device = builtin # OpenSSL engine to use for signing
  28. signer_cert = $dir/tsacert.pem # The TSA signing certificate