From 9977de00284c2b702e4aadfcc66069befa0aaf75 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Sun, 5 May 2019 21:04:28 +0100 Subject: [PATCH] Fix OpenSSL online test for ca context The php.net is redirected to https so use nginx.org --- ext/openssl/tests/bug65538_002.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/openssl/tests/bug65538_002.phpt b/ext/openssl/tests/bug65538_002.phpt index 7dddb12564..2a06d2d1b6 100644 --- a/ext/openssl/tests/bug65538_002.phpt +++ b/ext/openssl/tests/bug65538_002.phpt @@ -13,7 +13,7 @@ $clientCtx = stream_context_create(['ssl' => [ // We can't use http://curl.haxx.se/ca/cacert.pem for this test // as it is redirected to https which means the test would depend // on system cafile when opening stream. - 'cafile' => 'http://www.php.net', + 'cafile' => 'http://www.nginx.org', ]]); file_get_contents('https://github.com', false, $clientCtx); ?> -- 2.40.0