Created
May 28, 2014 11:38
-
-
Save cpard/847c8602063bfb605094 to your computer and use it in GitHub Desktop.
openssl commands to create a pkcs12 keystore to be used by ElasticSearch on Azure
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
#it requires to have your keys created already | |
openssl pkcs8 -topk8 -nocrypt -in azure-private.key -inform PEM -out azure-pk.pem -outform PEM | |
openssl x509 -inform der -in azure-certificate.cer -out azure-cert.pem | |
cat azure-cert.pem azure-pk.pem > azure.pem.txt | |
openssl pkcs12 -export -in azure.pem.txt -out azurekeystore.pkcs12 -name azure -noiter -nomaciter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment