Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to import the X509 SSL certificate (.cer) for SSL Configure

I am having a .cer certificate provided from my IT Team for SSL confifuration . I have imported it in default keystore <JIRAHOME>\security\cacerts But still it shows an exception 

Caused by: java.lang.IllegalArgumentException: jsse.alias_no_key_entry...


Although it has a private key associated with it...


Can you suggest me some concrete steps to configure ssl with existing .cer  file ...





1 answer

0 votes
Alexis Robert Community Leader Jan 09, 2020

Hi @Hemant Madhyan , 


what is exactly the command you're running to import the certificate ? From the error, it looks like it's missing the alias argument.


Let me know if this helps, 



C:\Program Files\Atlassian\JIRA\jre\bin>keytool -import -alias jira -keystore "
:\Program Files\Atlassian\JIRA\jre\lib\security\cacerts" -trustcacerts -file "C:

Alexis Robert Community Leader Jan 09, 2020

Hi @Hemant Madhyan , 


this might be because your CER file has a key file with a different alias than the one you're configuring on the command line. You actually dont need the key in the certificate that you're importing into the keystore, so I'd suggest using only the certificate without the key.

You can do this simply by editing the cer file (it's a simple text file).


Let me know if this helps, 



Hi @Alexis Robert , 


Thanks for the reply. But as per the documentation i can see that the certificates need the private key too.


Although we can import the certificates without private key into the keystore. But, while  starting the JIRA it sates the same error.


So, i followed this link


and i am able to launch JIRA on SSL now. But, it's working only while logging to the jira server not from outside as it shows certificate warning ... So, what could be the issue ?


Alexis Robert Community Leader Jan 09, 2020

What do you mean by "from outside it shows certificate warning" ? Do you mean outside your corporate network ? 

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you