2021-09-09 11:07:02 +00:00
|
|
|
diff -up openssl-3.0.0/apps/openssl.cnf.legacy-prov openssl-3.0.0/apps/openssl.cnf
|
|
|
|
--- openssl-3.0.0/apps/openssl.cnf.legacy-prov 2021-09-09 12:06:40.895793297 +0200
|
|
|
|
+++ openssl-3.0.0/apps/openssl.cnf 2021-09-09 12:12:33.947482500 +0200
|
2023-10-17 10:56:38 +00:00
|
|
|
@@ -42,14 +42,6 @@ tsa_policy1 = 1.2.3.4.1
|
2021-08-16 10:49:09 +00:00
|
|
|
tsa_policy2 = 1.2.3.4.5.6
|
|
|
|
tsa_policy3 = 1.2.3.4.5.7
|
|
|
|
|
|
|
|
-# For FIPS
|
|
|
|
-# Optionally include a file that is generated by the OpenSSL fipsinstall
|
|
|
|
-# application. This file contains configuration data required by the OpenSSL
|
|
|
|
-# fips provider. It contains a named section e.g. [fips_sect] which is
|
|
|
|
-# referenced from the [provider_sect] below.
|
|
|
|
-# Refer to the OpenSSL security policy for more information.
|
|
|
|
-# .include fipsmodule.cnf
|
|
|
|
-
|
|
|
|
[openssl_init]
|
|
|
|
providers = provider_sect
|
|
|
|
# Load default TLS policy configuration
|
2023-11-24 15:16:54 +00:00
|
|
|
@@ -42,23 +42,27 @@ [ evp_properties ]
|
2023-10-17 10:56:38 +00:00
|
|
|
#This section is intentionally added empty here
|
|
|
|
#to be tuned on particular systems
|
2021-08-16 10:49:09 +00:00
|
|
|
|
|
|
|
-# List of providers to load
|
2021-09-09 11:07:02 +00:00
|
|
|
-[provider_sect]
|
|
|
|
-default = default_sect
|
|
|
|
-# The fips section name should match the section name inside the
|
|
|
|
-# included fipsmodule.cnf.
|
|
|
|
-# fips = fips_sect
|
2021-08-16 10:49:09 +00:00
|
|
|
+# Uncomment the sections that start with ## below to enable the legacy provider.
|
|
|
|
+# Loading the legacy provider enables support for the following algorithms:
|
|
|
|
+# Hashing Algorithms / Message Digests: MD2, MD4, MDC2, WHIRLPOOL, RIPEMD160
|
|
|
|
+# Symmetric Ciphers: Blowfish, CAST, DES, IDEA, RC2, RC4,RC5, SEED
|
|
|
|
+# Key Derivation Function (KDF): PBKDF1
|
|
|
|
+# In general it is not recommended to use the above mentioned algorithms for
|
|
|
|
+# security critical operations, as they are cryptographically weak or vulnerable
|
|
|
|
+# to side-channel attacks and as such have been deprecated.
|
2021-09-09 11:07:02 +00:00
|
|
|
|
|
|
|
-# If no providers are activated explicitly, the default one is activated implicitly.
|
|
|
|
-# See man 7 OSSL_PROVIDER-default for more details.
|
|
|
|
-#
|
|
|
|
-# If you add a section explicitly activating any other provider(s), you most
|
|
|
|
-# probably need to explicitly activate the default provider, otherwise it
|
|
|
|
-# becomes unavailable in openssl. As a consequence applications depending on
|
|
|
|
-# OpenSSL may not work correctly which could lead to significant system
|
|
|
|
-# problems including inability to remotely access the system.
|
2021-08-16 10:49:09 +00:00
|
|
|
-[default_sect]
|
|
|
|
-# activate = 1
|
2021-09-09 11:07:02 +00:00
|
|
|
+[provider_sect]
|
2021-11-23 13:45:25 +00:00
|
|
|
+default = default_sect
|
2021-08-16 10:49:09 +00:00
|
|
|
+##legacy = legacy_sect
|
|
|
|
+##
|
2021-11-23 13:45:25 +00:00
|
|
|
+[default_sect]
|
|
|
|
+activate = 1
|
|
|
|
+
|
2021-08-16 10:49:09 +00:00
|
|
|
+##[legacy_sect]
|
|
|
|
+##activate = 1
|
2023-11-24 15:16:54 +00:00
|
|
|
+
|
|
|
|
+#Place the third party provider configuration files into this folder
|
2024-01-31 15:39:33 +00:00
|
|
|
+.include /etc/pki/tls/openssl.d
|
2021-08-16 10:49:09 +00:00
|
|
|
|
|
|
|
[ ssl_module ]
|
|
|
|
|
2021-09-09 11:07:02 +00:00
|
|
|
diff -up openssl-3.0.0/doc/man5/config.pod.legacy-prov openssl-3.0.0/doc/man5/config.pod
|
|
|
|
--- openssl-3.0.0/doc/man5/config.pod.legacy-prov 2021-09-09 12:09:38.079040853 +0200
|
|
|
|
+++ openssl-3.0.0/doc/man5/config.pod 2021-09-09 12:11:56.646224876 +0200
|
|
|
|
@@ -273,6 +273,14 @@ significant.
|
2021-08-16 10:49:09 +00:00
|
|
|
All parameters in the section as well as sub-sections are made
|
|
|
|
available to the provider.
|
|
|
|
|
|
|
|
+=head3 Loading the legacy provider
|
|
|
|
+
|
|
|
|
+Uncomment the sections that start with ## in openssl.cnf
|
|
|
|
+to enable the legacy provider.
|
|
|
|
+Note: In general it is not recommended to use the above mentioned algorithms for
|
|
|
|
+security critical operations, as they are cryptographically weak or vulnerable
|
|
|
|
+to side-channel attacks and as such have been deprecated.
|
|
|
|
+
|
2021-09-09 11:07:02 +00:00
|
|
|
=head3 Default provider and its activation
|
2021-08-16 10:49:09 +00:00
|
|
|
|
2021-09-09 11:07:02 +00:00
|
|
|
If no providers are activated explicitly, the default one is activated implicitly.
|