relopog.blogg.se

Install apache centos 7
Install apache centos 7









install apache centos 7 install apache centos 7

Since we want this directory to be private with only root access, we must change the permissions: #chmod 700 /etc/ssl/private So, let’s go ahead and make a new directory: #mkdir /etc/ssl/private Note that /etc/ssl/certs is already available for us to hold the certificate file. Before we generate it, we will have to make a new directory. Once Apache is ready to support the new SSL, it is time to generate a new certificate. So, we must do so by entering the following: #yum install mod_ssl Creating a new SSL Certificate Without this Apache module, we will not be able to have a self-signed certificate as it helps support the encryption that the SSL provides us. Then to enable Apache after every reboot, run the following command: #systemctl enable rvice Installing mod SSL In order to install a self-signed SSL certificate on Apache, you must install Apache first by typing out the following command: #yum install httpd If you prefer to read this version on our blog, here is the link. We've created a step-by-step process to help you get your SSL running. Installing a Self-Signed SSL on Apache with CentOS 7











Install apache centos 7