![]() validity specifies the validity of the keystore that you want to create. sigalg specifies the algorithm that should be used to sign the self-signed certificate this algorithm must be compatible with keyalg. ![]() keysize specifies the size of each key to be generated keyalg specifies the algorithm to be used to generate the key pair alias is an option to mention an Alias Name for your key entry keytool -genkey -keystore keystore.jks -alias ssl -keyalg RSA -sigalg SHA256withRSA -validity 365 -keysize 2048 jks file that will initially only contain the private key using the keytool utility. While we create a Java keystore, we will first create the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |