×

5790816606201475

5 Reputation

Follow
Activities(1) Posts(0) Series(0) Areas of Expertise Following Followers

5790816606201475 Commented on

Using Let's Encrypt to Enable HTTPS for a Streamlit Web Service

This article describes using Let's Encrypt SSL/TLS certificate on Ubuntu 22.04 for ECS and how to enable HTTPS for a web service using Streamlit.

The error I needed to fix was that certbot by default installs the certificate on /sites-enabled/default even if when I had /sites-enabled/www.strativesandbox.uk symlinked to /site-available/www.strativesandbox.uk which is certbot bug.The solution is to delete the default file and its symlink and then run the "sudo certbot --nginx -d <Domain>" again so certbot installs it on the only available config and will say "Successfully deployed certificate for www.example.com to /etc/nginx/sites-enabled/www.example.comCongratulations! You have successfully enabled HTTPS on www.example.com" instead of /etc/nginx/sites-enabled/default in the path.
Areas of Expertise

Following (0)

See All

Followers (0)

See All
Latest Comments
No series yet.