I bought a SSL Certificate from Namecheap and its startswith — begin cerfiticate — etc. and I don’t know the next step to activateit to my domain for example: I have to files .crt and .ca_bundle and digitalocean asked me private key but I don’t have it. so any help I’ll very appreciate it.
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!
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.
Hello,
Installing an SSL on your Droplet provides an increased level of security for your users - and there are two options we recommend for getting that done. First, if you wish to install an SSL from an SSL provider you’ll want to check out our guide here:
https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority T
hat guide takes you through the steps of choosing the right type of SSL for your needs, generating the CSR, and how to purchase the SSL from some common SSL providers. This is a great choice for purchasing yearly SSL’s that only need renewal once a year. The downside is they typically cost money to purchase.
Your second option would be to use a free SSL provider like Letsencrypt. Letsencrypt offers free SSL certificates and is easy to set up. This option is great to cover multiple websites on the same Droplet. The downside is that the SSL’s expire every 3 months, but the renewal process is simple and can be automated through cronjobs.
Depending on the webserver you are running the following guides will help you get your SSLs installed using Letsencrypt as well as set up automatic renewal.
Nginx: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
Apache: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04
Cheers, Sri Charan
Thanks for sharing.