I'm trying to add our wildcard certificate (*.example.com) to our newly setup JIRA Service Desk instance on CentOS 7.
I start by running this command:
sudo /opt/atlassian/jira/jre/bin/keytool -genkey -alias jira -keyalg RSA -keystore /opt/atlassian/jira/jre/bin/keytool/jira.jks
I then answer the questions. For the first name and last name, I enter *.example.com. When it asks for our organizational unit, I leave it blank because we don't have an organizational unit. I then provide normal answers for the remaining questions.
It then asks if the distinguished name is correct. I answer "yes."
It asks for the password again. I enter the same password that I previously entered.
Immediately following this, I receive the following error message:
keytool error: java.io.FileNotFoundException: /opt/atlassian/jira/jre/bin/keytool/jira.jks (Not a directory)
Hi, Jason.
It seems we do have a problem when trying to save the jks file under the keytool directory, however, you should be good to save this at the JIRA-HOME dir.
So may I know if you can execute this command and change the JKS file to be placed in JIRA-HOME? If you're using the Linux default path, the command should go like this:
sudo /opt/atlassian/jira/jre/bin/keytool -genkey -alias jira -keyalg RSA -keystore /var/atlassian/application-data/jira/jira.jks
I tried it, and it did not error that time or provide any other messages, so I believe that it worked.
Could the following documentation be updated to reflect this new command? This is where I found the command I was previously using:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.