Configure SSL2014/01/01 |
Configure httpd with SSL connection.
|
|
[1] | |
[2] | Configure httpd |
[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 server name ServerName www.srv.world:443
# line 100: specify certificate SSLCertificateFile /etc/pki/tls/certs/server.crt
# line 107: specify certification key SSLCertificateKeyFile /etc/pki/tls/certs/server.key
systemctl restart httpd.service |
Access to the test page with https. Following window is shown because Certification File is made by yourdelf, it's no ploblem, Click Ok to proceed. |
Just accessed. |
Install your server's certificates on your PC, then it's possible to access with no error. |
Sponsored Link |
|