Mismanaged Certificate with Nginx and GatsbyCloud

I host a handful of domains on a Linode VPS with Nginx on Ubuntu 18.04.5. Of those domains, I have my own personal static website that I recently recreated using Gatsbyjs and Gatsby Cloud. (I'm attempting to learn that technology), and that is located at both https://bradleystaples.com/ and https://bradleystapl.es/

The latter domain works. The former, however, gives me an error about the SSL Certificate not matching the bradleystaples.com domain (which it shouldn't, as I'm using an SSL Cert from Gatsby Cloud for that domain, same as with bradleystapl.es).

My Nginx conf file doesn't list either domain at all, but I previously had used Certbot / Let's Encrypt to get an SSL for both domains listed above. I'm curious why one seems to be "cached" to the using the cert's on my VPS instead of the ones on Gatsby Cloud while the other is not.

I used Certbot (version 1.18.0) to delete the certificates with sudo certbot delete and deleted all certs. I also deleted all files from

  • /etc/letsencrypt/live/
  • /etc/letsencrypt/archive/
  • /etc/letsencrypt/renewal/

None of those have done the trick so far.

Does anyone have any suggestions on what to do next? I really appreciate any help.

Hmm. After a couple of hours of trying things, I believe it fixed itself. Something must have been cached or took a while to propagate.

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