Create and Install an SSL Certificate for Jira Align Self Hosted
Summary
This article describes the steps needed to generate and install an SSL Certificate on a Jira Align self-hosted site.
Solution
The following steps outline a preferred method for creating an SSL certificate on a Windows Server. This process is not limited to Jira Align, and you can achieve the same result using alternative methods.
Step 1: Create a Certificate Request using MMC
Open MMC: Press
Win + R
, typemmc
, and pressEnter
.Add the Certificates Snap-in:
Click on
File
>Add/Remove Snap-in
.Select
Certificates
from the list and clickAdd
.Choose
Computer account
, thenNext
.Select
Local computer
and clickFinish
.Click
OK
to close the Add or Remove Snap-ins dialog.
Create a Certificate Request:
Expand
Certificates
>Personal
.Right-click on
Certificates
under `PersonalSelect
All Tasks
>Advanced Operations
>Create Custom Request
.Click
Next
to skip the Welcome page.
Select Certificate Enrollment Policy:
Choose
Proceed without enrollment policy
and clickNext
.Template Information:
Select
(No template) CNG key
, then clickNext
.
Configure Certificate Information: In the `Certificate Information` section, click to expand the
Details
and thenProperties
.Specify Certificate Properties:
General: Set a desired `Friendly name` and `Description` for the certificate
Subject Name:
Click on the
Subject
tab.Set
Common Name
(CN) to your primary Jira Align domain (e.g., jiraalign.com).
Subject Alternative Names (SAN):
Still on the
Subject
tab, underAlternative Name
, add DNS entries for each domain you want to secure, including the primary domain you inputted as Common Name (e.g., jiraalign.com, sub.jiraalign.com).Click
Add
after entering each name.
Extensions:
Click on the
Extensions
tab.Ensure `Key usage` includes
Digital Signature
andKey Encipherment
.Ensure `Extended Key Usage` includes
Server Authentication
.
Private Key:
Click on the
Private Key
tab.Expand `Key options` and ensure
Make private key exportable
is checked.Set the `Key size` to
2048
bits for RSA, as this is the minimum recommended for security and supported by the MMC wizard.
Finish the Certificate Request:
Click
OK
to close the Certificate Properties dialog.Click
Next
, then clickBrowse
. Select a file location and specify a file name for your CSR, such as `myJiraAlign.csr`.Click
Save
Click
Finish
to complete the CSR creation process.
Step 2: Submit the CSR to a Certificate Authority (CA)
Send CSR to CA: Send the generated `myJiraAlign.csr` file to your chosen Certificate Authority (CA) for signing. Ensure the CA supports SANs if your certificate requires them.
Receive the Signed Certificate: Once the CA processes your request, you will receive a signed certificate file (usually with a `.crt` or `.cer` extension).
Step 3: Install the Certificate in MMC
Return to MMC: Open MMC again if it's closed.
Import the Certificate:
Navigate to
Certificates
underPersonal
.Right-click on
Certificates
and chooseAll Tasks
>Import
.Click
Next
in the Certificate Import Wizard.Browse to the location of the signed certificate file you received from the CA.
Select the file and click
Next
.Ensure the certificate store is set to
Personal
and clickNext
.
Complete the Import:
Click
Finish
to complete the import process.You should see a confirmation message indicating the import was successful.
Step 4: Export the Certificate as a PFX File
Export the Certificate:
In MMC, navigate to
Certificates
underPersonal
.Locate the certificate you just imported. The Friendly Name you specified can be useful here.
Right-click on the certificate and select
All Tasks
>Export
.
Export Wizard:
Click
Next
on the Welcome page of the Certificate Export Wizard.Choose
Yes, export the private key
and clickNext
.
Export File Format:
Select
Personal Information Exchange - PKCS #12 (.PFX)
.Ensure
Include all certificates in the certification path if possible
andExport all extended properties
are checked.Click
Next
.
Set Security:
Enter a strong password to protect the PFX file and confirm it. This adds an extra layer of security to your private key.
Click
Next
.
Save the PFX File:
Click
Browse
and specify a file location and a file name for the PFX file (e.g., myJiraAlign.pfx).Click
Next
and thenFinish
to complete the export process.You should see a confirmation message indicating the export was successful.
Step 5: Install the Certificate in IIS
Open Internet Information Services (IIS) Manager: Press
Win + R
, typeinetmgr
, and pressEnter
.Install the Certificate:
In the IIS Manager, select the server node in the left-hand Connections pane.
Double-click on
Server Certificates
in the middle pane.Click on
Import
in the Actions pane.Browse to the location of your PFX file.
Enter the password you set during the export process.
Ensure the
Allow this certificate to be exported
option is checked if desired.Click
OK
to complete the import.
Step 6: Applying the Certificate to the Jira Align Site by Updating Binding
You can consider performing this task after work hours to prevent disruptions in case of issues. However, it does not require downtime.
Update the Jira Align Site Binding:
In the IIS Manager, expand the
Sites
node and select the Jira Align site you want to bind the certificate to.Click on
Bindings
.
Modify or Add HTTPS Binding:
If adding a new binding, click
Add
, set theType
tohttps
, and specify the IP address and port (default is 443) if needed.If it already exists, select the
https
binding and clickEdit
.In the
SSL certificate
dropdown, select the newly installed certificate. The Friendly Name you specified can be useful here.Click
OK
to save the binding.
Was this helpful?