-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto/x509: add standard SSL_CERT_DIR locations #14311
Comments
#14310 also mentions SSL_CERT_FILE to specify a single file
for the root certs.
|
CL https://golang.org/cl/20253 mentions this issue. |
@raspy I also just ran into this problem on an old openSUSE 13.1 system where
Unfortunately, on this system nobody ever executed Executing the script fixes the problem but not everyone was happy with the solution and commented that Go shouldn't rely on this deprecated file on openSUSE. |
Hm, I just noticed #12139 which seems to provide support for the |
AFAICS the problem seems to be that
|
CL https://golang.org/cl/36093 mentions this issue. |
crypto/x509/root_linux.go defines some standard certificate bundles locations, but root_unix.go defines only one single certificate directory. This should be consistent with OpenSSL design of system certificates:
Currently #1 is fulfilled with root_linux.go, but #2 is missing; so e.g. on Fedora/RHEL /etc/pki/tls/certs/ca-bundle.crt is read, but directory /etc/pki/tls/certs is not searched.
The text was updated successfully, but these errors were encountered: