I am executing the command below in the JIRA User Guide
But I get the following error
[root@localhost ~]# keytool -import -alias tomcat -file file.cer
Enter keystore password:
keytool error: java.lang.Exception: Certificate reply and certificate in keystore are identical
your command only trys to import the cert to your local keytore (on windows User/USERNAME/.keystore). In this keystore the tomcat file is already existing.
You Should add the certificate to your JIRA's JRE.
keytool -import -file tomcat.cer -alias tomcat -keystore "%JAVA_HOME%\lib\security\cacerts"
But Attention, if your are using a JDK for your JIRA (i think you ever need a jdk to run JIRA) you have to use the "jre" folder in your JDK
keytool -import -file tomcat.cer -alias tomcat -keystore "PATH_TO_JDK\jre\lib\security\cacerts"
If you want do change the certificate in your local keystore you have to remove the old one proviously
keytool -delete -alias tomcat
Don't forgot to restart your JIRA after changes :)
Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs