Commit 94add57f by Sam Stephenson

Include certs from /System/Library/Keychains/SystemRootCertificates.keychain

parent 243e6fbe
...@@ -556,8 +556,10 @@ build_package_mac_openssl() { ...@@ -556,8 +556,10 @@ build_package_mac_openssl() {
build_package_standard "$@" build_package_standard "$@"
# Extract root certs from the system keychain if .pem format and rehash. # Extract root certs from the system keychain in .pem format and rehash.
security find-certificate -a -p /Library/Keychains/System.keychain > "$OPENSSLDIR/cacert.pem" local pem_file="$OPENSSLDIR/cacert.pem"
security find-certificate -a -p /Library/Keychains/System.keychain > "$pem_file"
security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain >> "$pem_file"
"$OPENSSL_PREFIX_PATH/bin/c_rehash" "$OPENSSLDIR" >&4 2>&1 "$OPENSSL_PREFIX_PATH/bin/c_rehash" "$OPENSSLDIR" >&4 2>&1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment