i want to create certificate for tomcat server(.jks). i have one .csr and one .key file.I don't know how to generate jks file. i tried to convert .csr into cer with the help of this site https://www.getacert.com/signacert.html

then run the following command in command prompt.

keytool -importcert -file C:\Users\vm\Downloads\myweb-2019-09-30-061222.cer -keystore C:\Users\vm\keystore.jks -alias "Alias"

This command generate the .jks file but for only 1 month validity.Please suggest me the way i use for .jks is right or wrong?

Please help me how i create the .jks file?

migrated from crypto.stackexchange.com Oct 1 at 13:51

This question came from our site for software developers, mathematicians and others interested in cryptography.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy