A 1‑GB VPS is a common starting point for small sites, but a mis‑configured certificate or wrong file ownership can bring HTTPS down instantly. The following steps show how to get a fresh, secure cert with Certbot, tighten Nginx’s file permissions, and verify the result—all in under 30 minutes.
1. Verify the Current State
sudo systemctl status nginx
sudo certbot certificates
If nginx is active but the browser shows “connection not private”, the cert file is missing or unreadable. Check the cert directory: