Question

applying ssl cert to droplet

Posted May 14, 2017 11.9k views
Nginx Configuration Management Ghost One-Click Install Apps Let's Encrypt Ubuntu 16.04

Hi! I just deployed a Ghost one-click-app droplet on Digital Ocean, and got a Let’s Encrypt cert from DNSimple. Which cert files should I download (.crt, .key, .pem, _bundle.pem) and where should I put them after sshing into the server?

Thanks in advance!

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.

1 answer

Hi @digitalvapor

Don’t use the certificate you got from DNSimple, just create a new one directly on the server, so you also can setup the auto-renewal.

You can use this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

But I think your Nginx file might be something different than /etc/nginx/sites-available/default, since you’re using the one-click, so check the folder /etc/nginx/sites-available/ for other configuration files.

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.
Submit an Answer