How do i configure my ssl cert?

potatis

New Member
Hello

I am trying to install a ssl cert for my XAMPP server on ubuntu server.

I am using letsencrypt and I have downloaded it and now I have it in /etc/letsencrypt/live. I think that the next step is to go into virtual hosts and configure the ssl cert with these:

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem

but everytime I have went into the virtual hosts file(i had to do it because of a problem with my domain) I have done something that makes it impossible to reach my website from my server IP on webbrowser. I wonder if you guys could help me get the cert working?
 


linuxid

New Member
right, in virtualhost
<virtualhost *:443>
.
.
.

</virtualhost>

can you show us error logs on your apache?
 

Members online


Top