Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Great Tutorial! Really easy to follow.
In regards to Updating Diffie-Hellman Parameters, I noticed that the certbot automatically adds in an entry to the serverblock
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem
should I remove this?
Thank you so much for taking the time to write this tutorial! So complete!
Really nice, direct, simple, and uncomplicated tutorial. Worked for me in about 4 minutes from beginning to end. If you’ve followed other DO guides for setting up nginx this goes much faster.
sudo certbot --nginx -d example.com -d www.example.com
After running the above command I get the following error:
Failed authorization procedure. www.example.com (tls-sni-01): urn:acme:error:tls :: The server experienced a TLS error during domain verification :: remote error: tls: handshake failure
Very helpful tutorial!
I am still using Ubuntu 14.04, and this command doesn’t work for that system:
sudo systemctl reload nginx
I had to restart this way: sudo service nginx restart
Otherwise, did pretty much everything else exactly as is. And boom! Thank you.
Hi Hazel, thanks so much for this tutorial. I have a question. if I have more than one server block in my nginx droplet and each one has a different domain name, can I obtein separate ssl certificate per domain just doing the same process here per server block and domain?
for example, it would be:
certbot --nginx -d domain1.com -d www.domain1.com
certbot --nginx -d domain2.com -d www.domain2.com
and so on…
I just want to be sure that I will go over the right way…
Thanks in advance for your help!
Works perfect, very easy to follow. Slightly off topic but I can’t access my website via www. Any reason why?
For some reasons when I run the following command:
sudo certbot --nginx -d example.com -d www.example.com
Everything works fine, except that Certbot cannot access my server block:
Could not open file: /etc/nginx/sites-enabled/example.com
I configured my server block exactly has explain on the tutorial linked in the pre-requisites.
Any idea where this could come from?
The command: sudo ufw status Only show me the port but dont the name of Nginx HTTP or similar.