self signed SSL certificate issues

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2013

Hi

I am trying to install a self signed SSL certificate to enable https access without warning message popping up.

The command I am using is

"<jira-install-dir>\jre\bin\keytool" -genkey -alias tomcat -keyalg RSA

However, after running this command I am getting this error

Enter keystore password:
keytool error: java.io.IOException: Keystore was tampered with, or password was
incorrect

Note: This VM was cloned from another VM which had a SSL certificate generated.

Rahul

1 answer

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2013

What password are you trying? Try "changeit". That is the default. If that is not working, someone might have changed it to a stricter password.

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2013

Hi Jobin

Thanks for your comments.

Yea, there were two issues. Once I used changeit and a new alias it allowed me to create a keystore file in my home directory.

How do i change the password from changeit to something more secure?

Rahul

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2013

Suggest an answer

Log in or Sign up to answer