Replies: 3 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
If the actual
That might make |
Beta Was this translation helpful? Give feedback.
-
Thank you both for the quick and straightforward responses! @p-linnane @carlocab I noticed that in the description of the openssl@3 formula at https://formulae.brew.sh/formula/openssl@3, it says: “A CA file has been bootstrapped using certificates from the system keychain.” As I understand it, this bootstrapping does not actually happen during the installation of openssl@3, but rather in the ca-certificates formula, as @carlocab linked. Do you see any objection to moving this note to the ca-certificates formula documentation instead? And explicitly stating that system CA certificates are only added to the CA file on macOS? For the Linux scenario (missing system openssl binary), one could conditionally copy or symlink the system certificates into the Homebrew CA store if an openssl binary is present. However, I’m concerned this might introduce inconsistencies. Would you find it helpful to accompany such a step with a clear log output to ensure transparency about the approach? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
Background
I'm working in a corporate environment where we need to install custom CA certificates (for proxy servers, internal CAs, etc.) to access company resources. We install these certificates to the system certificate store using the standard Ubuntu approach:
.crt
files in/usr/local/share/ca-certificates/
sudo update-ca-certificates
to update/etc/ssl/certs/ca-certificates.crt
Issue
While system tools (e.g. wget from apt) correctly use these certificates, Homebrew-installed tools apparently ignore them. Tools installed via Homebrew fail with SSL certificate verification errors when accessing corporate resources.
Current Workaround
Based on the OpenSSL@3 formula documentation, we're manually copying certificates to Homebrew's OpenSSL directory:
This works, but requires manual intervention every time certificates are updated.
Questions
/usr/local/share/ca-certificates/
?Beta Was this translation helpful? Give feedback.
All reactions