# Replacing a client certificate

If your private key was compromised or your client certificate has expired, you can replace the private key or the client certificate.

1. On the Starting page, click Settings.
2. Click hawkBit settings.
3. Click Replace.
5. Click Browse to select a certificate from your file system.
6. Click Open.
7. Click Browse to select a private key from your file system.
8. Click Open.
9. Click Replace.
10. A dialogue box is opened.
11. Click Yes.