OpenSSL / gnutls CA certificate bundles #828
Unanswered
Firefishy
asked this question in
Tap maintenance and brew development
Replies: 1 comment
-
Problem 1 is by design: Homebrew/homebrew-core#1072 , but there is a way to workaround the issue: Homebrew/homebrew-core#71191 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At install time of OpenSSL and/or gnutls a CA certificate bundle is created which is seeded from the Certificate Authority (CA) certificates in Keychain.
Problem 1:
Currently only
/System/Library/Keychains/SystemRootCertificates.keychain
is currently used.SystemRootCertificates.keychain
only supports Apple supplied CAs. Organisational (or user) installed CA certificates are normally added to/Library/Keychains/System.keychain
.Without the additional CA certificates users can unexpectedly receive untrusted certificate errors in homebrew installed apps, when the same url/site works OK in browsers.
My PRs to fix:
OpenSSL: Homebrew/homebrew-core#71191
gnutls: Homebrew/homebrew-core#71282
Problem 2:
The homebrew CA certificate bundlers are only ever updated when updating OpenSSL or gnutls packages.
https://github.com/raggi/openssl-osx-ca is a project which adds a launchagent which regularly updates the homebrew CA certificate bundles.
The OpenSSL and/or gnutls should likely also have an automated mechanism for regularly updating certificate bundles.
Problem 3:
OpenSSL post-install output:
This is factually incorrect, the
cert.pem
CA bundle is not updated by c_rehashBeta Was this translation helpful? Give feedback.
All reactions