A key may have been copied
Use this when a certificate's private key, or SSLense's ACME account key, may have left the server: a stolen or lost backup, a disk or virtual machine image that was shared, a server that was broken into, or a PFX file sent to the wrong place. Act on the same day: until a certificate is revoked, whoever has its key can impersonate the site.
A certificate SSLense renews automatically
Section titled “A certificate SSLense renews automatically”- Revoke and replace it. In the app, select the certificate, open ⋯ and choose Revoke and replace (key compromised)…. Or run:
SSLense installs a new certificate with a new key first, checks the site serves it, runs the certificate's deployment steps, then has the certificate authority revoke the old certificate for key compromise.
Terminal window SSLense.Cli revoke --site "<certificate name>" --yes - Check the result. The message names the new certificate. Choose Check on the certificate to confirm every host name serves it.
- If the revocation failed (error SSL2030), the sites already use the new certificate. Run the command the error gives, which points to the old certificate saved under
C:\ProgramData\SSLense\revocations:Terminal window SSLense.Cli revoke --file "<path>" --ca <certificate authority> --reason key-compromise --yes - Repeat for every certificate whose key may have leaked. A certificate shared by several sites is one certificate: revoking it once covers all of them.
- Anything else that held a copy of the key, such as PFX or PEM files written by export steps, or a load balancer, needs the new certificate too; check the certificate's After install steps.
A certificate you bought
Section titled “A certificate you bought”SSLense cannot revoke it (error SSL4051). Ask your provider to revoke it for key compromise; most have a button for this in their control panel. Get a new certificate with a new key: create a new request in SSLense (Add certificate › I bought it and the provider needs a request), so the new key never leaves the server. Install it with Install renewal.
A certificate with manual DNS validation
Section titled “A certificate with manual DNS validation”- Select it and choose Renew by hand, which creates a new key, and complete the DNS records as usual.
- Revoke the old certificate from its file, or from a copy exported earlier:
Terminal window SSLense.Cli revoke --file "<old certificate>" --ca <certificate authority> --reason key-compromise --yes
The ACME account key
Section titled “The ACME account key”The account key is in SSLense's data folder, encrypted for this server. If the data folder, or the server, may have been copied:
- Replace the account key for each certificate authority: Settings › Certificate authorities › Replace account key, or:
The certificate authority switches the account to a new key at once; the copied key stops working. Certificates are not affected.
Terminal window SSLense.Cli account change-key --ca <certificate authority> --yes - If the server itself was broken into, assume the certificate keys were copied too: revoke and replace every certificate as above.
Afterwards
Section titled “Afterwards”- Run the health check (Activity › Run checks) and fix anything it reports.
- Keep the SSLense log for the incident report: it records each revocation and key change.