If you manage your custom domain’s certificate yourself, you need to renew it and upload updated files before it expires. This helps prevent service interruptions.
If Piwik PRO manages your certificate, we automatically renew it for you.
To change how your certificate is managed, see Edit a custom domain in Set up a custom domain.
This article explains how to upload an updated certificate for your custom domain.
Before you start
Here are a few things to keep in mind before you update your certificate:
- You need owner permission to manage certificates in Menu > Administration > Account > Domains.
- Your certificate chain must be in PEM format (
.pem,.crt, or.cer). The leaf certificate (the main certificate) must appear first in the file. - Your private key must be in PEM format (
.pemor.key), encoded using PKCS#8. - Both the certificate and private key must use RSA. ECC/ECDSA certificates aren’t supported, including those using the prime256v1 (P-256) curve.
Update your certificate
To update a manually managed certificate, follow these steps:
1. Go to Menu > Administration > Account.
2. In Domains, find the Domains list.
3. Click the three-dot ⋯ icon next to your custom domain and select Edit.

4. Under Certificate, make sure Managed by you is selected.
5. In New certificate, upload the updated files:
- Certificate chain: Upload your renewed certificate chain.
- Private key: Upload the corresponding private key.
The new certificate will replace the current one when you save.

Note: The certificate chain must be in PEM format (with .pem, .crt, or .cer extensions). Make sure the leaf certificate (your main certificate) is listed first in the file. The private key must be in PEM format (with .pem or .key extensions), encoded using PKCS#8.
6. Click Save.
You can check the certificate’s expiration date in the Domains list.
Reminders and alerts
We’ll remind you when your certificate is about to expire:
- Email alert: The user with the owner role will receive an email alert 30 days before any certificate expires.
- In-app reminders: All users will see an in-app overlay 30 days before a certificate expires, followed by a final reminder 7 days before expiration.