Trouble integrating JIRA gadgets with Liferay Portal

Hey everyone, I’m having a hard time getting JIRA gadgets to work on my Liferay Portal. The main problem is that JIRA won’t accept the public key I’m trying to use.

I’ve done the following steps:

  1. Made a public key with Puttygen and saved it in Liferay
  2. Added a JIRA gadget (Activity Stream) through Liferay’s control panel
  3. Set up OAuth in Liferay using RSAPrivate and the right consumer key

In JIRA, I:

  1. Created a new Generic Application in Application Links
  2. Set up Incoming Authentication with the Liferay details
  3. Added the public key and callback info

But when I try to save everything, JIRA gives me an error saying the public key isn’t valid.

Am I missing something? Has anyone successfully set this up before? Any tips on generating the keys correctly would be super helpful. Thanks!

I’ve been through this integration headache before, and it can be frustrating. One thing that helped me was ensuring the key length matched JIRA’s requirements. I found that 2048-bit RSA keys worked best. Also, make sure you’re copying the entire public key, including the header and footer lines. Sometimes these get missed, causing validation errors.

Another trick I discovered was to temporarily disable any firewall or proxy settings on both ends. This helped isolate whether the issue was with the keys or network connectivity. Once I got it working, I gradually re-enabled security measures.

If you’re still stuck, try regenerating both the public and private keys from scratch. Sometimes a fresh start can resolve mysterious issues. Hope this helps you get it sorted!

hey davidw, i’ve dealt with this before. Make sure ur public key is in the right format (PEM). sometimes puttygen messes it up. Try using openssl to generate the keys instead. Also, double-check ur consumer key matches exactly in both systems. Good luck!