apns
apns copied to clipboard
certificate pass phrase
How to set a certificate pass phrase? Any example implementation with pass phrase?
To quote @minux on https://github.com/golang/go/issues/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.)