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

Posted January 29, 2020 1k views

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.

edited by MattIPv4

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.

Submit an Answer
1 answer

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.