Creating a New Key Pair and Self-Signed Certificate Using keytool : Keytool « Security « Java






Creating a New Key Pair and Self-Signed Certificate Using keytool

   

keytool -genkey -alias alias -keystore .keystore

   
    
    
  








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 binary using keytool, if the certificate is in the key store
4.Export certificate in text format using keytool, if the certificate is in the key store
5.using keytool to import a certificate into a keystore
6.Java Key Tools