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
How to set a certificate pass phrase? Any example implementation with pass phrase?
The text was updated successfully, but these errors were encountered:
To quote @minux on golang/go#10181
Use http://golang.org/pkg/crypto/x509/#DecryptPEMBlock and then http://golang.org/pkg/crypto/tls/#X509KeyPair if you need to read password protected PEM. (LoadX509KeyPair can't open password protected PEM because there is no way for the function to know the password.)
Use http://golang.org/pkg/crypto/x509/#DecryptPEMBlock and then http://golang.org/pkg/crypto/tls/#X509KeyPair if you need to read password protected PEM.
(LoadX509KeyPair can't open password protected PEM because there is no way for the function to know the password.)
Sorry, something went wrong.
No branches or pull requests
How to set a certificate pass phrase? Any example implementation with pass phrase?
The text was updated successfully, but these errors were encountered: