---
title: Importing earlier trusted certificates into the new keystore
description: You must import the trusted certificates of other servers in the topology into the new truststore file.
component: pingauthorize
version: 10.3
page_id: pingauthorize:pingauthorize_server_administration_guide:paz_import_trusted_cert_keystore
canonical_url: https://docs.pingidentity.com/pingauthorize/11.1/pingauthorize_server_administration_guide/paz_import_trusted_cert_keystore.html
llms_txt: https://docs.pingidentity.com/pingauthorize/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 29, 2022
superseded_by: https://docs.pingidentity.com/pingauthorize/11.1/pingauthorize_server_administration_guide/paz_import_trusted_cert_keystore.html
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Importing earlier trusted certificates into the new keystore

You must import the trusted certificates of other servers in the topology into the new `truststore` file.

## About this task

To export trusted certificates from `truststore` and import them into `truststore.new`, perform the following steps for each trusted certificate:

## Steps

1. Locate the currently trusted certificates.

   ```
   manage-certificates list-certificates \
     --keystore truststore
   ```

2. For each alias other than `server-cert`, or whose fingerprint does not match `server-cert`, perform the following steps:

   1. Export the trusted certificate from `truststore`.

      ```
      manage-certificates export-certificate \
        --keystore truststore \
        --keystore-password-file truststore.pin \
        --alias <trusted-cert-alias> \
        --export-certificate-chain \
        --output-file trusted-cert-alias.crt
      ```

   2. Import the trusted certificate into `truststore.new`.

      ```
      manage-certificates import-certificate \
        --keystore truststore.new \
        --keystore-type JKS \
        --keystore-password-file truststore.pin \
        --alias <trusted-cert-alias> \
        --certificate-file trusted-cert-alias.crt
      ```
