150-openssl.cnf-add-engines-conf.patch 796 B

1234567891011121314151617181920212223242526272829
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: Eneas U de Queiroz <[email protected]>
  3. Date: Sat, 27 Mar 2021 17:43:25 -0300
  4. Subject: openssl.cnf: add engine configuration
  5. This adds configuration options for engines, loading all cnf files under
  6. /etc/ssl/engines.cnf.d/.
  7. Signed-off-by: Eneas U de Queiroz <[email protected]>
  8. --- a/apps/openssl.cnf
  9. +++ b/apps/openssl.cnf
  10. @@ -22,6 +22,16 @@ oid_section = new_oids
  11. # (Alternatively, use a configuration file that has only
  12. # X.509v3 extensions in its main [= default] section.)
  13. +openssl_conf=openssl_conf
  14. +
  15. +[openssl_conf]
  16. +engines=engines
  17. +
  18. +[engines]
  19. +.include /var/etc/ssl/engines.cnf
  20. +
  21. +.include /etc/ssl/engines.cnf.d
  22. +
  23. [ new_oids ]
  24. # We can add new OIDs in here for use by 'ca', 'req' and 'ts'.