I made a demo site for a tutorial I wrote on how to deploy a React/Node app on AWS EC2. This tutorial included SSL setup with certbot (because certbot is awesome). Now since I’ve wanted to used the domain name for my own personal site. However I created the certificate on the EC2 instance and since have terminated that server, which means it’s gone permanently as far as whats in my control.
My question is, is there a way for me to delete the certificate attached my domain name. So I can repurpose it for a new site. Even tho I have terminated the original server that the certbot was installed on.
My domain is: wescoderre.dev
I did this : terminated my EC2 instance with my demo site and certbot
There’s no need to delete previously issued certificates. Just make a new one.
You can create upto 5 exact duplicate certificates per week (https://letsencrypt.org/docs/rate-limits/). Keep in mind that deleting/revoking previous certificates does not allow you to increase the number of certificates you can issue. So do not revoke certificates unless you have a reason to believe that your private key is compromised.
Awesome thanks for the quick reply. I guess this verifies my thoughts that the problem is actually with Surge.sh free tier. I’ll have to find a place to deploy my portfolio where I can run Certbot. Any recommendations other than Amazon EC2?
Vultr, Digital Ocean, Linode … they all have vanilla Linux VPS from $5/mo. Stick Debian/Ubuntu onto one of them, install Certbot, and off you go. You can spend a lifetime looking for free/“free tier” Linux hosting, but it always ends in tears.
I think @_az is right, but another option if you want to use a free-tier service that doesn’t include an ACME client but that does let you import certificates could be to use Cloudflare’s free tier and a certificate from Cloudflare’s origin CA imported on the origin server. In this case Cloudflare will essentially upgrade the backend service to a publicly-trusted certificate when proxying for it. (Using the origin CA certificate ensures that the connections between Cloudflare and the backend service are still encrypted with HTTPS.)
Thanks @_az and @schoen for the recommendations. I’m finding I really like the power of having access to vanilla linux when I deploy my projects. I’m still fairly new to web development and have use Heroku, Amazon EC2 and Surge. So far Amazon EC2 gave me the most customization using ubuntu 18.04. Looking forward to trying some different services.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.