crypto/x509: documentation about SSL_CERT_FILE and SSL_CERT_DIR is incorrect #37907
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to use
SSL_CERT_FILE
to try to override the default system location on macOS.What did you expect to see?
x509.SystemCertPool
use my environment variable.What did you see instead?
It did not.
Per
crypto/x509
's docs:macOS is very much a UNIX system (afaik it's verified UNIX, or at least was) and at any rate, it's usually assumed to be included in the
_unix.go
convention.At the very least, the docs should specify which operating systems allow the environment variable override.
The text was updated successfully, but these errors were encountered: