Mega Code Archive

 
Categories / Java Tutorial / Security
 

Create a keystore with a self-signed certificate, using the keytool command

keytool -keystore mySrvKeystore -keypasswd 123456 -genkey -keyalg RSA -alias mycert