I can't figure out how to make https/ssl certificates work

Hi, so I used the wordpress one click install, managed to move my files and database to the droplet, but can’t figure out how to add my ssl certificate and make the website work on https, i’m getting This site can’t be reached. refused to connect.

Any thoughts? I have my own ssl certificate from 1&1 and since it’s paid would like to use that one instead of the free let’s encrypt.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You need to upload the SSL files .crt, .key (if CSR generated outside of the server) and CA bundle to the droplet. Then add the paths of those files in the Apache vhost config and restart the Apache once.