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)