Import SSL certificate to particular keystore
C:\Users\veeresh\Desktop\>keytool -import -alias xmpp3 -keypass changeit -keystore c:\Java\jdk1.8.0_20\jre\lib\security\cacerts -file c:\Users\veeresh\Desktop\vamanit.cloudapp.net.pem
List certificates in a keystore
C:\Users\veeresh\Desktop\>keytool -list -keystore cacerts
Generate .pem or .cer files for self signed websites using openssl
openssl s_client -connect vamanit.webiste.net:5222 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > xmpp.crt
C:\Users\veeresh\Desktop\>keytool -import -alias xmpp3 -keypass changeit -keystore c:\Java\jdk1.8.0_20\jre\lib\security\cacerts -file c:\Users\veeresh\Desktop\vamanit.cloudapp.net.pem
List certificates in a keystore
C:\Users\veeresh\Desktop\>keytool -list -keystore cacerts
Generate .pem or .cer files for self signed websites using openssl
openssl s_client -connect vamanit.webiste.net:5222 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > xmpp.crt
No comments:
Post a Comment