JIRA Server 7.3 Unable to Configure OAuth Incoming Authentication

Hello,

I have a JIRA Server 7.3.6 instance installed and I’m trying to integrate it with another web app using the REST APIs.
For this purpose I tried creating an ‘Application Link’ by following the steps mentioned here - https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/ , only instead of OpenSSL I used PuttyGen to generate the RSA public key.

Here’s what’s happening. When I click on ‘Save’ after entering the ‘Consumer Key’, ‘Consumer Name’ and ‘Public Key’, I get this error message - Must be a valid public key. java.security.InvalidKeyException: IOException: DerInputStream.getLength(): lengthTag=72, too big.

Could someone please let me know what I’m doing wrong here? Your help is much appreciated.

Thanks.

It looks like PuttyGen actually doesn’t provide you with an OpenSSL approved key.

Once you have your key created you need to export the key as an OpenSSL key and save it for later.

Can you please try that?

Hello @pvandevoorde,

You are correct. I tried an OpenSSL key earlier today and it worked.
Thank you for your confirmation.

Regards,
Vijay