From: Dmitry Belyavskiy Date: Tue, 10 Aug 2021 13:04:37 +0000 (+0200) Subject: Disclaimer about the default provider activation added to config X-Git-Tag: openssl-3.0.0~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5f4099d275520caf90a28a88e889cb36683b412;p=thirdparty%2Fopenssl.git Disclaimer about the default provider activation added to config Fixes #16249 Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/16280) --- diff --git a/apps/openssl-vms.cnf b/apps/openssl-vms.cnf index 4d96a1f32d2..59c6776a1e0 100644 --- a/apps/openssl-vms.cnf +++ b/apps/openssl-vms.cnf @@ -60,6 +60,14 @@ default = default_sect # included fipsmodule.cnf. # fips = fips_sect +# 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. [default_sect] # activate = 1 diff --git a/apps/openssl.cnf b/apps/openssl.cnf index ffb424a871c..03330e0120a 100644 --- a/apps/openssl.cnf +++ b/apps/openssl.cnf @@ -60,6 +60,14 @@ default = default_sect # included fipsmodule.cnf. # fips = fips_sect +# 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. [default_sect] # activate = 1 diff --git a/doc/man5/config.pod b/doc/man5/config.pod index 7bd603a2cc8..77a8055e81f 100644 --- a/doc/man5/config.pod +++ b/doc/man5/config.pod @@ -273,6 +273,15 @@ significant. All parameters in the section as well as sub-sections are made available to the provider. +=head3 Default provider and its activation + +If no providers are activated explicitly, the default one is activated implicitly. +See L 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. It may make the system remotely unavailable. + =head2 EVP Configuration The name B in the initialization section names the section