Problem with renew certificates - The request message was malformed :: Method not allowed

I’ve had a site running on a digitalocean droplet with LEssl setup for a while. I’m trying to change domain names for the site, and have created a second certificate for the new domain name.

I’ve got two folders in /etc/letsencrypt/live now, one for each domain.

I’ve got two nginx server blocks, one for each domain, and i’ve got /var/www/domain1/html and /var/www/domain2/html

Creating a cert for the second domain was no problem, but when I run the dry run, I get the error mentioned above on this page:

Attempting to renew cert (domain1.com) from /etc/letsencrypt/renewal/domain1.com.conf produced an unexpected error: urn:ietf:params:acme:error:malformed :: The request message was malformed :: Method not allowed. Skipping.

Attempting to renew cert (domain2.com) from /etc/letsencrypt/renewal/domain2.com.conf produced an unexpected error: urn:ietf:params:acme:error:malformed :: The request message was malformed :: Method not allowed. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/domain1.com/fullchain.pem (failure)
/etc/letsencrypt/live/domain2.com/fullchain.pem (failure)

Any advice on how to solve this would be great. I’m only planning on redirecting all pages from domain1 to domain2, so that might be important info too.

Also the system is ubuntu 16.04 running nginx.

I’m running certbot 0.25.0… any other info, just ask. Thank you!

  • EDIT: Does the answer above this one apply to my situation as well, or is this uniquely because I have two certs?