Update a TLS certificate

Replaces a TLS certificate with a new one. The new certificate must cover the same domains as the original.