lukePeavey / quotable

Random Quotes API
MIT License
1.8k stars 212 forks source link

Implement Automatic SSL Renewal #210

Closed MullerIsabella closed 7 months ago

MullerIsabella commented 7 months ago

Implement Automatic SSL Renewal

At the time of writing, the SSL certificate for api.quotable.io is expired (#204, #207, #209).

This seems to be a recurring issue.

Implementing auto-renewal would be very useful in reducing certificate-based API downtimes.

One way is to incorporate with the API server an open-source tool like NGINX Proxy Manager, as a reverse proxy for api.quotable.io, since certificate management and auto-renewal for Let's Encrypt certificates are built-in.

Alternatively, utilizing Cron with Certbot on the API server, the Let's Encrypt SSL certificate(s) can be renewed at a set interval (such as monthly).

By implementing automatic SSL renewal, manual maintenance as well as service disruptions can be minimized.

vpodolyan commented 7 months ago

It would be nice to have or at least renew it manually so far

lukePeavey commented 7 months ago

I'm working on this now. Going to close this issue as a duplicate, check issue #204 for updates on this

MarketingPip commented 7 months ago

@lukePeavey - just a thank you for your work + implementing this! (This crashed / messed up little project of mine that uses this!). If interested see here

Cheers 🍺