Now we are going to modify our ss.conf file.
Now we will open this file with vi editor and we will see we are now going to specify our SSLCertificate
file as master.crt and we are going to specify SSLCertificateKey file as our master.key.
Then we are going to restart the server systemctl.
restart httpd, So let us go into our master system and we are going to open that file, which
is the name of the file.
First we have to locate where is that file, it is in current directory that mean /etc/httpd/conf.d.
So we will go there and with vi editor, we are going to open this file.
So so we will search for our parameter.
So where these parameters are there.
So we will find out.
And then we are going to make the changes, so this is our SSL certificate file, so instead of local
host, what is the name of the our certificate?
It is Master.
And what about certificate file?
Sorry for key.
Private key.
It is master key.
So we have to make these changes.
So after making the changes, you have to save this file because we are using the Vi editor.
So you have to specify :WQ Save, then we will clear the screen.
Then what we are going to do, we are going to search for the string cat then and we are going to specify
grep Which thing.
we want to search SSL.
Certificate, so we just want to double check whether we have made the proper changes or not, we have
made the proper changes, then what we are going to do, we are going to the systemctl.
restart httpd.
So when we are going to restart the httpd, it is going to read that file also ssl.config also.
So that mean we have made successful changes in our SSL.config.
Now we just need to test our this https server.