Fedora 11
Sponsored Link

Configure SSL2009/06/14

  Configure SSL

[1] First, make SSL certificate. See here.

[2] Configure httpd for SSL settings
[root@www1 ~]#
vi /etc/httpd/conf.d/ssl.conf


# line 78: uncomment

DocumentRoot "/var/www/html"

# line 79: uncomment and change

ServerName
www1.srv.world:443


# line 106: change

SSLCertificateFile
/etc/pki/tls/certs/server.crt


# line 113: change

SSLCertificateKeyFile
/etc/pki/tls/certs/server.key


[root@www1 ~]#
/etc/rc.d/init.d/httpd restart

Stopping httpd:
[ OK ]

Starting httpd:
[ OK ]

Access to the test page with https. Following window is shown because Certification File is not installed in browser. It's no ploblem. Click Yes to proceed.
 
Just accessed.
 
Matched Content