Last active
February 5, 2019 16:27
-
-
Save shelld0n/cd9838ce773982a70a8ef4a4072f8d32 to your computer and use it in GitHub Desktop.
REadme.md
This file contains hidden or 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
Extraire la chaine de certification client du p12 | |
openssl pkcs12 -in -cacerts -nokeys -chain -out | |
Extraire le certificat client | |
openssl pkcs12 -in -clcerts -nokeys -out | |
Extraire lma clée privée chiffrée du client | |
openssl pkcs12 -in yourP12File.pfx -nocerts -out privateKey.pem | |
Importer le certificat PEM dans le truststore des brokers kafka (Un Ajout pour chaque certificat dans la chaine) | |
openssl x509 -outform der -in test.cer -out certificate.der | |
keytool -import -alias your-alias -keystore cacerts -file certificate.der | |
Check a certificate | |
openssl x509 -in certificate.crt -text -noout | |
Check a PKCS#12 file (.pfx or .p12) | |
openssl pkcs12 -info -in keyStore.p12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment