Websites now on two servers


#1

I have two websites https://www.transsee.ca/ and https://doconnor.transsee.ca/ with different content.

Originally they where two vhosts on the same apache server and I set up their encryption together.

I have now moved https://www.transsee.ca/ to a different server (different IP, different physical location). When I do a dry-run with certbot to renew https://www.transsee.ca/ it says it fails because of a problem with https://doconnor.transsee.ca

It’s not clear the best way for me to renew both these web sites.


#2

Hi @doconnor,

One option which might not be the safest is the Certbot --allow-subset-of-names option (which treats the renewal as successful even when not all names can be renewed).

A more correct option is to specify the particular names that you want to be included in the cert, as well as the cert name. If the cert name from certbot certificates is www.transsee.ca then on that server you could run

certbot certonly --force-renew --cert-name www.transsee.ca -d www.transsee.ca -d transsee.ca

And on the other server you could run

certbot certonly --force-renew --cert-name www.transsee.ca -d doconnor.transsee.ca

The one thing that might be confusing as a result on the second server is that the cert name would be unchanged, so the cert on the second server would be named after a hostname that wasn’t actually covered by the cert.


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.