Created
May 4, 2022 02:42
-
-
Save rdh27785/97210d439a280063bd768006450c435d to your computer and use it in GitHub Desktop.
diff -uN /etc/ssl/openssl.cnf\~original /etc/ssl/openssl.cnf for Nextcloud with OpenSSL 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /etc/ssl/openssl.cnf~original 2022-03-16 08:35:51.000000000 +0000 | |
+++ /etc/ssl/openssl.cnf 2022-05-04 02:37:30.336530711 +0000 | |
@@ -56,6 +56,7 @@ | |
# List of providers to load | |
[provider_sect] | |
default = default_sect | |
+legacy = legacy_sect | |
# The fips section name should match the section name inside the | |
# included fipsmodule.cnf. | |
# fips = fips_sect | |
@@ -69,7 +70,9 @@ | |
# OpenSSL may not work correctly which could lead to significant system | |
# problems including inability to remotely access the system. | |
[default_sect] | |
-# activate = 1 | |
+activate = 1 | |
+[legacy_sect] | |
+activate = 1 | |
#################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Huh.
I continue without any problems running it under Ubuntu 22.04 LTS and Ondrej's PPA. This time, I even tested it with php8.3, and the results are as expected — it shows exactly the same as my home Mac PowerBook.
I wonder... those of you with issues under Ubuntu 22.04... what does the following command show to you?
(Note: on my system,
/usr/lib/ssl/openssl.cnf
is symlinked to/etc/ssl/openssl.cnf
; YMMV.)Also: are you sure that the access
file_get_contents()
has not been blocked at the OS level, for some silly reason? Some system admins considerfile_get_contents()
to be a potential source of conflicts/security exploits and therefore it might be blocked at thephp.ini
config file...