applying ssl cert to droplet

May 14, 2017 9.4k views
Ghost One-Click Install Apps Nginx Let's Encrypt Configuration Management 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!

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:

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.
Have another answer? Share your knowledge.