Public key error in Application Links


I am trying to get Jira gadgets onto Liferay Portal. But I am facing issues in Jira accepting Public key.

I generated public key using Puttygen and saved the public key.

In Jira - Opened Jira -> Application Links -> created new Generic Application -> Incoming Authentication
consumer key -
consumer Name - Liferay
Public key - gave the public key text in public key file
callback - callback as mentioned in Liferay opensocial gadget

When I tried to save the settings, I get an error in Jira "Must be a valid public key. invalid key format".

Where am I going wrong? How are the public and private key generated?



3 answers

0 vote
Dieter Community Champion Feb 26, 2012
Hi Anantha, maybe we can put our pieces of the puzzle together ;). i have already managed to import the public key in Jira, just see But i have absolutely no idea, where from Liferray gets it's private key ... Maybe you can help me in this regard

Hi Dieter,

We are sailing in the same boat. Dejuknow has answered our queries in this forum but still unable to succeed in integrating.

I tried to reach him in the same thread but it was deleted. Let me try my luck. I generated my public key using keytool and now that text area is greyed out in Application Links in Jira. Now I have to work on the other side Liferay for this integration. Only public key is generated and have no idea of private key. If I succeed I will let you know through this thread.



Dieter Community Champion Feb 27, 2012
Hi Anantha,, that looks promising. I also had managed to install the public key on Jira side but never knew where to put the private key on the Liferay side. Will try to let our Liferay admin install the fix and try again. Thanks once more!

Hey Guys,

Did anyone able to resolve this issue? Any luck in getting OpenSocial gadget portlel work in liferay connecting Jira.

I am facing the same issue but not able to fix it.

Any help is appreciated.


can you post answer if you fixed it?

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

366 views 6 16
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot