How do i configure my ssl cert?

potatis

New Member
Joined
Sep 4, 2019
Messages
11
Reaction score
0
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?
 


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

</virtualhost>

can you show us error logs on your apache?
 
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.
 
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
 


Top