blob: 31ca029e0607139c844227994fbbb6ba6134f4cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff -up ./libraries/Util.php.rpm ./libraries/Util.php
--- ./libraries/Util.php.rpm 2017-06-30 07:17:37.000000000 +0200
+++ ./libraries/Util.php 2017-06-30 07:18:14.000000000 +0200
@@ -4782,12 +4782,12 @@ class Util
*
* See https://letsencrypt.org/certificates/
*/
- $certs_dir = dirname(__file__) . '/certs/';
+ $certs_dir = '/etc/pki/tls/';
/* See code below for logic */
if ($ssl == CURLOPT_CAPATH) {
$curl_status &= curl_setopt($curl_handle, CURLOPT_CAPATH, $certs_dir);
} elseif ($ssl == CURLOPT_CAINFO) {
- $curl_status &= curl_setopt($curl_handle, CURLOPT_CAINFO, $certs_dir . 'cacert.pem');
+ $curl_status &= curl_setopt($curl_handle, CURLOPT_CAINFO, $certs_dir . 'cert.pem');
}
$curl_status &= curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER,true);
|