sexta-feira, 7 de junho de 2019

Certificado digital - How do I convert CRT to PFX, or get a PFX certificate

When you're creating a .pfx, you'll need a copy of the private key from your server, as well as the .crt file that you downloaded from GoDaddy. You can use OpenSSL commands in command line to create the PFX, I'm including a sample below:

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile more.crtThis will create a certificate.pfx file from your private key, as well as the .crt you downloaded. You'll just need to make sure that you update the names in the sample code above to match your certificate/private key information.
Hope this helps!

openssl pkcs12 -export -out rb01.pfx -inkey rb01.key -in rb01.crt


0 comentários: