Documentation ¶
Index ¶
Constants ¶
View Source
const (
// > openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -certfile cert.pem -out myProject_keyAndCertBundle.p12
OpenSSLCreateFormat = `openssl pkcs12 -export -in %v -inkey %v -certfile %v -out %v`
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // use certificate.crt as the certificate the private key will be combined with. In string // use the private key file privateKey.key as the private key to combine with the certificate. InKey string // This is optional, this is if you have any additional certificates you would like to include in the PFX file. CertFile string // export and save the PFX file as certificate.pfx Out string }
func (*Options) CreateCommand ¶
CreateP12File creates a PKCS 12/PFX file https://www.ssl.com/how-to/create-a-pfx-p12-certificate-file-using-openssl/
func (*Options) InfoCommand ¶
Click to show internal directories.
Click to hide internal directories.