How to generate public key to application link 3rd party applications

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Users who would like to integrate JIRA with their own application or 3rd party application will need to have a valid public key. This page will provide the steps to do this.

Solution

  1. To generate a key pair execute:

    1 openssl genrsa -out privkey.pem 2048
  2. And to extract the public key (both keys are in PEM format) execute:

    1 openssl rsa -pubout -in privkey.pem -out pubkey.pem
  3. Open the pubkey.pem in a text editor and you should see something like this:

    1 2 3 4 5 6 7 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0V9TqNeo/qzyI3T10qJw iNiej6bPHOfDlqUPppPaUAPQNkSYdscfgkoMDsaw39+vh3tW3rczi6F5bFJ/cD3s TUwuMxeNFFkm94T6kIztAbS97c9489qNsqg17B83DDFjuxLRpr082dPLZ8H6v4W1 afEWDcmafRi/HiSOTH4M5tzaLsOJt8wU26LNAVo2EE50oxnFOATpBetfaqxjyBZj TQREjTtBYSXQU9SnNnZ5Ti27RdLkXLAYcEdI8pAr9Hp+BfK3JK/dx7a6Rtid54E9 COWxg0HfOcZRNQX6VBypVfTuY++AQegZ74lVrhg3nVJsWX+e9VwVU58rjqwd1lGH NwIDAQAB
  4. Copy and paste the key into JIRA

    (Auto-migrated image: description temporarily unavailable)
Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.