Skip to main content

Posts

Showing posts from November, 2025

Create an SSL Certificate on Apache for CentOS 7

Introduction TLS, or “transport layer security”, and its predecessor SSL, which stands for “secure sockets layer”, are web protocols used to wrap normal traffic in a protected, encrypted wrapper. Using this technology, servers can send traffic safely between the server and the client without the concern that the messages will be intercepted and read by an outside party. The certificate system also assists users in verifying the identity of the sites that they are connecting with. In this guide, we will show you how to set up a self-signed SSL certificate for use with an Apache web server on a CentOS 7 machine. You will also need to have Apache installed in order to configure virtual hosts for it. If you haven’t already done so, you can use yum to install Apache through CentOS’s default software repositories: [root@httpd ~]# sudo yum install httpd Next, enable Apache as a CentOS service so that it will automatically start after a reboot: [root@httpd ~]# sudo systemctl enable httpd.servi...