Secure Nginx with SSL
Step 1 — Installing Certbot sudo apt-get install certbot python3-certbot-nginx Step 2 — Obtaining an SSL Certificate sudo certbot –nginx -d example.com -d www.example.com Step 3 — Updating Diffie-Hellman (Optional) sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048 (more secure but takes a bit longer) editor /etc/nginx/sites-available/default replace /etc/letsencrypt/ssl-dhparams.pem with your generated /etc/ssl/certs/dhparam.pem Step 4 — Remove weiterlesen…