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
Certificatesfrom the list and clickAdd.Choose
Computer account, thenNext.Select
Local computerand clickFinish.Click
OKto close the Add or Remove Snap-ins dialog.
Create a Certificate Request:
Expand
Certificates>Personal.Right-click on
Certificatesunder `PersonalSelect
All Tasks>Advanced Operations>Create Custom Request.Click
Nextto skip the Welcome page.
Select Certificate Enrollment Policy:
Choose
Proceed without enrollment policyand clickNext.Template Information:
Select
(No template) CNG key, then clickNext.
Configure Certificate Information: In the `Certificate Information` section, click to expand the
Detailsand thenProperties.Specify Certificate Properties:
General: Set a desired `Friendly name` and `Description` for the certificate
Subject Name:
Click on the
Subjecttab.Set
Common Name(CN) to your primary Jira Align domain (e.g., jiraalign.com).
Subject Alternative Names (SAN):
Still on the
Subjecttab, 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
Addafter entering each name.
Extensions:
Click on the
Extensionstab.Ensure `Key usage` includes
Digital SignatureandKey Encipherment.Ensure `Extended Key Usage` includes
Server Authentication.
Private Key:
Click on the
Private Keytab.Expand `Key options` and ensure
Make private key exportableis checked.Set the `Key size` to
2048bits for RSA, as this is the minimum recommended for security and supported by the MMC wizard.
Finish the Certificate Request:
Click
OKto 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
SaveClick
Finishto 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
CertificatesunderPersonal.Right-click on
Certificatesand chooseAll Tasks>Import.Click
Nextin 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
Personaland clickNext.
Complete the Import:
Click
Finishto 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
CertificatesunderPersonal.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
Nexton the Welcome page of the Certificate Export Wizard.Choose
Yes, export the private keyand clickNext.
Export File Format:
Select
Personal Information Exchange - PKCS #12 (.PFX).Ensure
Include all certificates in the certification path if possibleandExport all extended propertiesare 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
Browseand specify a file location and a file name for the PFX file (e.g., myJiraAlign.pfx).Click
Nextand thenFinishto 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 Certificatesin the middle pane.Click on
Importin 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 exportedoption is checked if desired.Click
OKto 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
Sitesnode 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 theTypetohttps, and specify the IP address and port (default is 443) if needed.If it already exists, select the
httpsbinding and clickEdit.In the
SSL certificatedropdown, select the newly installed certificate. The Friendly Name you specified can be useful here.Click
OKto save the binding.
Was this helpful?