Fedora 14
Sponsored Link

Configure SSL
2010/11/06
  Configration of SSL

[1] Create certificate first. See here.

[2] Configure httpd
[root@www03 ~]#
yum -y install mod_ssl


[root@www03 ~]#
vi /etc/httpd/conf.d/ssl.conf


# line 78: uncomment

DocumentRoot "/var/www/html"

# line 79: uncomment and specify server name

ServerName
www03.srv.world:443


# line 106: specify certificate

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


# line 113: specify certification key

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


[root@www03 ~]#
/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 made by yourdelf, it's no ploblem, Click Ok 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
 
Tweet