From f6b81bfed9bbacd43b25eed70ba282ee71f93070 Mon Sep 17 00:00:00 2001 From: Wytze van der Raay Date: Thu, 14 Feb 2019 08:19:33 +0000 Subject: [PATCH] Fix for https://bugs.cacert.org/view.php?id=1430 --- includes/general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/general.php b/includes/general.php index 2eef65e..9543592 100644 --- a/includes/general.php +++ b/includes/general.php @@ -631,7 +631,7 @@ continue; } - stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLS_CLIENT); + stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); fputs($fp, "EHLO www.cacert.org\r\n"); do {