Disclaimer about the default provider activation added to config
authorDmitry Belyavskiy <beldmit@gmail.com>
Tue, 10 Aug 2021 13:04:37 +0000 (15:04 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 12 Aug 2021 07:59:34 +0000 (09:59 +0200)
Fixes #16249

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16280)

apps/openssl-vms.cnf
apps/openssl.cnf
doc/man5/config.pod

index 4d96a1f32d2e14e5dc25a69f3dce0bbdb944dd4b..59c6776a1e0e714a87e5709c009174ca12e092c5 100644 (file)
@@ -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
 
index ffb424a871c9fbd00f3ba3169f6fb76365100133..03330e0120a291fc10e942f0d25f6f5af16f776f 100644 (file)
@@ -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
 
index 7bd603a2cc80c885a8733ff94090841217010b0f..77a8055e81fae3fa0c5ae96226c6c7ce3303f245 100644 (file)
@@ -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<OSSL_PROVIDER-default(7)> 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<alg_section> in the initialization section names the section