Skip to content
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

Use environment variables for trusted certificate store #14310

Closed
raspy opened this issue Feb 12, 2016 · 2 comments
Closed

Use environment variables for trusted certificate store #14310

raspy opened this issue Feb 12, 2016 · 2 comments

Comments

@raspy
Copy link

raspy commented Feb 12, 2016

OpenSSL allows to use SSL_CERT_FILE and SSL_CERT_DIR to point to trusted root CA certificates. This is extremely useful when trying to connect to sites secured with enterprise internal root CA on hosts where one does not manage system certificate store. It would be good to have such possibility with Go as well.

@calmh
Copy link
Contributor

calmh commented Feb 13, 2016

I second this as it would also allow programs to run easier under nontypical environments. I recall seeing issues with nonstandard cert locations on certain NAS devices and similar for example.

I'd be happy to contribute this if it's accepted as an idea.

@minux
Copy link
Member

minux commented Feb 15, 2016 via email

@golang golang locked and limited conversation to collaborators Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants