Created
May 24, 2024 05:08
-
-
Save 79man/e4df479b4dcf78cd9459ce046e784fac to your computer and use it in GitHub Desktop.
openssl pfx file
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
# Extract cert | |
openssl pkcs12 -in ./file.pfx -clcerts -nokeys -out file.crt | |
# Extract Key | |
openssl pkcs12 -in ./file.pfx -nocerts -nodes -out file.key | |
# Check cert | |
openssl x509 -in file.crt -text -noout | |
#Check Key | |
openssl rsa -in file.key -check | |
#Check pfx itself | |
openssl pkcs12 -info -in file.pfx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment