---
title: Updating the ads-truststore file to use the new key-pair
description: The server continues to use the old ads-certificate until you update the certificate.
component: pingdirectory
version: 9.3
page_id: pingdirectory:pingdatametrics_server_administration_guide:pd_met_update_ads_truststore
canonical_url: https://docs.pingidentity.com/pingdirectory/9.3/pingdatametrics_server_administration_guide/pd_met_update_ads_truststore.html
revdate: September 13, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Updating the ads-truststore file to use the new key-pair

The server continues to use the old `ads-certificate` until you update the certificate.

## About this task

When the new ads-certificate needs to go into effect, the old ads-truststore file must be replaced with ads-truststore.new in the server's config directory.

## Steps

* To replace the old `ads-truststore` file with `ads-truststore.net`, run the command in the server's `config` directory:

  ```shell
  $ mv ads-truststore.new ads-truststore
  ```
