php-composer-ca-bundle/php-composer-ca-bundle-rpm.patch
Remi Collet 24eca06263 Update to 1.1.0
allow Symfony 2, 3 and 4
2017-11-30 07:26:49 +01:00

12 lines
525 B
Diff

diff -up src/CaBundle.php.rpm src/CaBundle.php
--- src/CaBundle.php.rpm 2017-11-30 07:12:46.773928987 +0100
+++ src/CaBundle.php 2017-11-30 07:15:28.549820032 +0100
@@ -130,7 +130,7 @@ class CaBundle
*/
public static function getBundledCaBundlePath()
{
- $caBundleFile = __DIR__.'/../res/cacert.pem';
+ $caBundleFile = '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always
// cURL does not understand 'phar://' paths
// see https://github.com/composer/ca-bundle/issues/10