Export certificate in binary using keytool, if the certificate is in the key store : Keytool « Security « Java






Export certificate in binary using keytool, if the certificate is in the key store

   

keytool -storepass my-keystore-password -alias myalias -export -file outfilename.cer

   
    
    
  








Related examples in the same category

1.generates a 1024-bit Digital Signature Algorithm (DSA) key pair.
2.To create a 1024-bit RSA key:
3.Export certificate in text format using keytool, if the certificate is in the key store
4.Creating a New Key Pair and Self-Signed Certificate Using keytool
5.using keytool to import a certificate into a keystore
6.Java Key Tools