This section explains how to upgrade [Apigee mTLS](https://docs.apigee.com/private-cloud/v4.54.00/mtls-intro.md.txt)
to Apigee Edge for Private Cloud v4.54.00.

> [!NOTE]
> Apigee mTLS is supported on Apigee Edge for Private Cloud versions 4.51.00, 4.50.00, 4.19.06, and 4.19.01. You cannot use `apigee-mtls` on versions 4.18.\* or lower.

## Before you begin

Apigee recommends that you perform backups of the Cassandra, Postgres, and Zookeeper services
before you upgrade Apigee mTLS.

> [!CAUTION]
> **Important:** If you use a [custom certificate](https://docs.apigee.com/private-cloud/v4.54.00/mtls-certs.md.txt), the uninstall and reinstall steps generate new default certificates and replace your custom certificate. To continue using your custom certificate, re-integrate it before starting `apigee-mtls`, as described in [Step 5: Integrate the
> custom certificate](https://docs.apigee.com/private-cloud/v4.54.00/mtls-certs-integrate). Make sure that the certificate is signed with SHA-256 (see [Step 4: Sign the
> signature request](https://docs.apigee.com/private-cloud/v4.54.00/mtls-certs-sign)); SHA-1-signed certificates are rejected during the mTLS handshake.

## Upgrading

**To upgrade Apigee mTLS:**

1. Stop all Apigee components, including `apigee-mtls`, by executing the following command:

   ```
   /opt/apigee/apigee-service/bin/apigee-all stop
   ```
2. Uninstall Apigee mTLS by executing the following command:

   ```
   /opt/apigee/apigee-service/bin/apigee-service apigee-mtls uninstall
   ```
3. Reinstall Apigee mTLS by executing the following command:

   ```
   /opt/apigee/apigee-service/bin/apigee-service apigee-mtls install
   ```
4. Execute the following command:

   ```
   apigee-service apigee-mtls setup -f /opt/silent.conf
   ```
5. Start `apigee-mtls` on all hosts by executing the following command:

   ```
   /opt/apigee/apigee-service/bin/apigee-service apigee-mtls start
   ```
6. Start the remaining Private Cloud components by following the existing [startup sequence documentation](https://docs.apigee.com/private-cloud/v4.54.00/starting-stopping-and-restarting-apigee-edge.md.txt#start-order).

   > [!NOTE]
   > **Note:** It may take as long as 3-5 minutes for Zookeeper to re-establish its quorum within the mTLS service mesh. This may or may not be of consequence depending on how much---or how little---automation is used during the restart process.

7. Follow the existing [update/upgrading ordering
   steps](https://docs.apigee.com/private-cloud/v4.54.00/update-apigee-edge-4190x-45000#orderofmachineupdate) for other components.