Last active
September 21, 2018 09:20
-
-
Save rickytato/a620c96c1e7c0727d9c1928179a62369 to your computer and use it in GitHub Desktop.
NGINX – Easiest way to setup SSL using .pfx files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# https://blog.knoldus.com/easiest-way-to-setup-ssl-on-nginx-using-pfx-files/ | |
# | |
We’ll start by extracting the CRT file using openssl with the following command | |
openssl pkcs12 -in ./YOUR-PFX-FILE.pfx -clcerts -nokeys -out domain.crt | |
Followed by extracting the private key with the following command | |
openssl pkcs12 -in ./YOUR-PFX-FILE.pfx -nocerts -nodes -out domain.rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment