Fedora 21
Sponsored Link

Configure SSL2014/12/30

 
Configure SSL settings to use secure encrypt connection.
[1]
[2] Configure SSL.
[root@www ~]#
yum -y install mod_ssl
[root@www ~]#
vi /etc/httpd/conf.d/ssl.conf
# line 59: uncomment

DocumentRoot "/var/www/html"
# line 60: uncomment and specify the server name

ServerName
www.srv.world:443
# line 103: change to the one created in [1]

SSLCertificateFile
/etc/pki/tls/certs/server.crt
# line 110: change to the one created in [1]

SSLCertificateKeyFile
/etc/pki/tls/certs/server.key
[root@www ~]#
systemctl restart httpd

[3] Access to the test page from a client computer with a Web browser via HTTPS. The examample below is the Fiorefix. Following screen is shown because Certificates is own created one, but it's no ploblem, Proceed to next.
[4] Click "Add exception" button.
[5] Click "Approve security exception" button.
[6] Just accessed via HTTPS.
Matched Content