Skip to content

Commit 3ce2401

Browse files
authored
add missing openssl-certificate paths for homebrew on apple silicon (#87)
1 parent 5ac2520 commit 3ce2401

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CaBundle.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ public static function getSystemCaRootBundlePath(LoggerInterface $logger = null)
9595
'/usr/local/etc/ssl/cert.pem', // FreeBSD 10.x
9696
'/usr/local/etc/openssl/cert.pem', // OS X homebrew, openssl package
9797
'/usr/local/etc/openssl@1.1/cert.pem', // OS X homebrew, openssl@1.1 package
98+
'/opt/homebrew/etc/openssl@3/cert.pem', // macOS silicon homebrew, openssl@3 package
99+
'/opt/homebrew/etc/openssl@1.1/cert.pem', // macOS silicon homebrew, openssl@1.1 package
98100
);
99101

100102
foreach($otherLocations as $location) {

0 commit comments

Comments
 (0)