Removing a domain from a letsencrypt cert

My letsencrypt SSL cert wasn’t renewing. I’d forgotten that I moved my wife’s site to squarespace so that caused the renewal to not find the site on my IP, causing it to fail with something like:

Attempting to renew cert . . .  produced an unexpected error: Failed authorization procedure.

I was using the same cert for multiple sites. Note though, you don’t actually remove the superfluous/relocated sites from the cert and then renew, instead you recreate the cert with just the domains you want. Makes sense.

Anyway, here are some really good instructions and explanation.

And just in case that site isn’t around, basically you’re running:

sudo certbot --cert-name jimwillis.org -d jimwillis.org -d www.jimwillis.org

And then you can run 

sudo certbot certificates

To make sure that the domains were removed from the cert. Handily, it also renews the cert when you run that command. 

 

Posted

in

Current Spins

Top Albums

Check out my album Set It All Down on your favorite streaming service.


Posts Worth Reading:


Letterboxd


Reading Notes

  • Who profits from our constant state of dissatisfaction? The answer, of course, is painfully obvious. Every industry that sells a solution to a problem you […]
  • the shifts have been in place for awhile. A certain kind of book—say those reviewed in the NYRB—will become like opera, or theater, or ballet, […]
  • • No more struggle: “Whatever arises, train again and again in seeing it for what it is. The innermost essence of mind is without bias. […]
  • The real problem, in my mind, isn’t in the nature of this particular Venture-Capital operation. Because the whole raison-d’etre of Venture Capital is to make […]
  • . The EU invokes a mechanism called the precautionary principle in cases where an innovation, such as GMOs, has not yet been sufficiently researched for […]

Saved Links

RSS Error: A feed could not be found at `https://links.jimwillis.org/feed/atom?`; the status code is `404` and content-type is `text/html; charset=utf-8`