We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the current documentation there is no guidance on how to handle LDAPS connections with self-signed certificates.
The text was updated successfully, but these errors were encountered:
#16376 (comment)
Add your certificate to a copy of the root certs file and set the SSL_CERT_FILE environment variable to the new file.
SSL_CERT_FILE
See: https://pkg.go.dev/crypto/[email protected]#SystemCertPool
and
https://cs.opensource.google/go/go/+/refs/tags/go1.16.6:src/crypto/x509/root_linux.go
(On linux that is. On windows and mac you need to add the new RootCA to the system pool.)
Unfortunately as far as I can see if we were to provide an option to set the trusted CAs, users would have to provide a file containing all root CAs.
Sorry, something went wrong.
No branches or pull requests
In the current documentation there is no guidance on how to handle LDAPS connections with self-signed certificates.
The text was updated successfully, but these errors were encountered: