---
title: Importing your self-signed certificate into Atlassian
description: If you are using a self-signed certificate for PingFederate, import it into the Java virtual machine (JVM) key store of the Atlassian server. This is required when the authentication type is mutual SSL or Basic authentication.
component: atlassian
page_id: atlassian:atlassian_integration_kit:pf_atlassian_ik_importing_your_self_signed_certificate_into_atlassian
canonical_url: https://docs.pingidentity.com/integrations/atlassian/atlassian_integration_kit/pf_atlassian_ik_importing_your_self_signed_certificate_into_atlassian.html
llms_txt: https://docs.pingidentity.com/integrations/atlassian/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 2, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Importing your self-signed certificate into Atlassian

If you are using a self-signed certificate for PingFederate, import it into the Java virtual machine (JVM) key store of the Atlassian server. This is required when the authentication type is mutual SSL or Basic authentication.

## About this task

|   |                                                                                                                     |
| - | ------------------------------------------------------------------------------------------------------------------- |
|   | The default key store password on most systems is `changeit`. On MacOS 10.7 or earlier, the password is `changeme`. |

## Steps

1. Run the following command as an administrative user (or sudo):

   ```
   keytool -importcert -alias {pingfed} -file /<full_path_to_cert>/<certificate_name>.crt -keystore /<full_path_to_jre>/lib/security/cacerts
   ```

2. Replace the variables in the command as follows:

   | Variable            | Description                                                                                                     |
   | ------------------- | --------------------------------------------------------------------------------------------------------------- |
   | `full_path_to_cert` | Based on previous configuration steps, this value is:`$PINGFEDERATE_ATLASSIAN_DATA_PATH`                        |
   | `certificate_name`  | The file name of the certificate.                                                                               |
   | `full_path_to_jre`  | The Java Runtime Environment (JRE) being used by Atlassian is usually listed when you start Jira or Confluence. |
