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
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.

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.