Fedora 12
Sponsored Link

Configure SSL2010/06/13

  Configure SSL

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

[2] Configure httpd for SSL settings
[root@www ~]#
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@www ~]#
/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.
 
Install your server's certificate on your PC, then it's possible to access with no error.
 
Install certificate.
 
Matched Content