SSL Certificate on Cent OS 7

Support for security such as Firewalls and securing linux
Post Reply
othtwebdev
Posts: 3
Joined: 2020/06/26 09:48:56

SSL Certificate on Cent OS 7

Post by othtwebdev » 2020/06/26 09:53:00

Hello, I am needing some help! I have a VPS and installed Cent OS 7 and Apache. Once the OS is installed, it creates an SSL Cert that is self-signed. I install Certbot and create an SSL certificate that uses Lets Encrypt as the CA. This works fine. However when I go to the website, it still uses the self-signed certificate, rather than the higher level one from Lets Encrypt.

This is the domain report form ssl shopper:

https://www.sslshopper.com/ssl-checker. ... rden.co.uk

I imagined that just by installing the Let's Encrypt Cert everything would be fine! Is there a need to install some kind intermediary cert or something?

I'm at a loss with this, so if anyone has any ideas, please let me know! Thanks, A

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SSL Certificate on Cent OS 7

Post by TrevorH » 2020/06/26 10:08:38

Did you amend your webserver config files to actually use the new certificate?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

othtwebdev
Posts: 3
Joined: 2020/06/26 09:48:56

Re: SSL Certificate on Cent OS 7

Post by othtwebdev » 2020/06/26 10:38:27

Erm....no! I didn't know I had to do this, didn't see any publicised info on doing this, can you enlighten on the process please? I would have imagined Certbot would have taken care of this side of the process.
Thanks.
A

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SSL Certificate on Cent OS 7

Post by TrevorH » 2020/06/26 10:55:55

In the default setup, SSL is configured from /etc/httpd/conf.d/ssl.conf and that will have lines in it pointing to which certificate files should be used.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

othtwebdev
Posts: 3
Joined: 2020/06/26 09:48:56

Re: SSL Certificate on Cent OS 7

Post by othtwebdev » 2020/06/26 11:06:36

Ahhh thank you very much, will give that a try and hopefully will get it working!

Post Reply