proxytunnel's default cacert directory is always empty on macOS #1933
Unanswered
deFractal
asked this question in
Writing Formulae/Casks
Replies: 1 comment 9 replies
-
I'd look at their |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
proxytunnel
looks by default for a CA certificate file in /etc/ssl/certs, but on current versions of macOS, that directory is always empty. Is there a practical means to alter the formula forproxytunnel
on macOS to default instead to the cacert.pem file corresponding to the OpenSSL library theproxytunnel
binary is linked against?So, for example, my scripts which use
proxytunnel
currently call it with--cacert="$(/usr/local/opt/openssl/bin/openssl version -d | cut -d'"' -f2)/cacert.pem"
(though perhaps there's a more elegant way to write this). Currently, that substitution maps to--cacert=/usr/local/etc/[email protected]/cacert.pem
. Without that,proxytunnel
always fails to validate any certificates. If this were addressed, the--cacert
argument could be omitted in this case, becauseproxytunnel
would look there by default.I'm not sure yet where it would make the most sense to create an issue for this. Recommendations welcome.
Beta Was this translation helpful? Give feedback.
All reactions