How do i configure my ssl cert?

potatis

New Member
Credits
0
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
Credits
0
right, in virtualhost
<virtualhost *:443>
.
.
.

</virtualhost>

can you show us error logs on your apache?
 

samK

New Member
Credits
200
Log in to WHM. Log in to WHM, this can typically be accessed by going to https://domain.com:2087. ...
Enter Username/Password.
Go to your Homepage.
Click SSL/TLS.
Click Install an SSL Certificate on a Domain.
Type in your domain name.
Input your Certificate Files.
Click Install.
 

CptCharis

Well-Known Member
Credits
194
Lets encrypt setting up virtual host 443 by itself.
Also during installation asking you if you need re-direction from http to https and make relevant changed to virtualhost 80

But I am facing up issues with lets encrypt and my domain name,
I have post a relevant threat in General Servers section
 


Members online

No members online now.

Top