Cant get an SSL certificate by following the guide

Posted May 31, 2018 770 views
WordPressUbuntu 16.04

(Ubuntu 16.04, Wordpress one click installation)

Im trying to get an ssl certification on my website and im using this guide.

On step one, i cant complete the last bit, as i get an error.

Any tips?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


The guide that you are following is for Cerbot and Apache, however from the error that you’ve shared, it looks like that you are using Nginx.

In this case, you should follow these steps here:


by Mitchell Anicas
In this tutorial, we will show you how to use Let's Encrypt to obtain a free SSL certificate and use it with Nginx on Ubuntu 16.04. We will also show you how to automatically renew your SSL certificate. If you're running a different web server, simply follow your web server's documentation to learn how to use the certificate with your setup.