1 |
diff -up ./libraries/classes/Utils/HttpRequest.php.rpm ./libraries/classes/Utils/HttpRequest.php |
2 |
--- ./libraries/classes/Utils/HttpRequest.php.rpm 2019-09-12 15:57:49.955739598 +0200 |
3 |
+++ ./libraries/classes/Utils/HttpRequest.php 2019-09-12 15:58:00.262698588 +0200 |
4 |
@@ -141,12 +141,12 @@ class HttpRequest |
5 |
* |
6 |
* See https://letsencrypt.org/certificates/ |
7 |
*/ |
8 |
- $certsDir = ROOT_PATH . 'libraries/certs/'; |
9 |
+ $certsDir = '/etc/pki/tls/'; |
10 |
/* See code below for logic */ |
11 |
if ($ssl == CURLOPT_CAPATH) { |
12 |
$curlStatus &= curl_setopt($curlHandle, CURLOPT_CAPATH, $certsDir); |
13 |
} elseif ($ssl == CURLOPT_CAINFO) { |
14 |
- $curlStatus &= curl_setopt($curlHandle, CURLOPT_CAINFO, $certsDir . 'cacert.pem'); |
15 |
+ $curlStatus &= curl_setopt($curlHandle, CURLOPT_CAINFO, $certsDir . 'cert.pem'); |
16 |
} |
17 |
|
18 |
$curlStatus &= curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true); |