---
title: Replacing the key store and trust store files
description: Replace the key store and trust store files in the server's config directory to make the new server certificates take effect.
component: pingauthorize
version: 11.0
page_id: pingauthorize:pingauthorize_server_administration_guide:paz_replace_keystore_truststore
canonical_url: https://docs.pingidentity.com/pingauthorize/11.0/pingauthorize_server_administration_guide/paz_replace_keystore_truststore.html
revdate: July 29, 2022
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Replacing the key store and trust store files

Replace the key store and trust store files in the server's `config` directory to make the new server certificates take effect.

## About this task

Because the server still uses the previous `server-cert`, you must replace the earlier `keystore` and `truststore` files with the new ones in the server's `config` directory when you want the new `server-cert` to take effect.

## Steps

* Replace the `keystore` and `truststore` as shown in the following example.

  ```shell
  $ mv keystore.new keystore
    mv truststore.new truststore
  ```
