티스토리 뷰

CentOS 5 WEB Server Configure SSL


Configure SSL

 

Configure httpd to use SSL encrypted connection.



1. Create Certificate, refer to here.



2. Configure httpd for SSL.


[root@www ~]# yum -y install mod_ssl


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

# line 84: uncomment

DocumentRoot "/var/www/html"


# line 85: uncomment and specify hostname

ServerName www.srv.world:443


# line 112: change to the one created in [1]

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


# line 119: change to the one created in [1]

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


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

Stopping httpd: [ OK ]

Starting httpd: [ OK ]


※ Next manual



저작자 표시 비영리 변경 금지
신고

'EN > CentOS 5' 카테고리의 다른 글

CentOS 5 WEB Server Configure WebDAV  (0) 2016.06.01
CentOS 5 WEB Server Virtual Hostings  (0) 2016.06.01
CentOS 5 WEB Server Configure SSL  (0) 2016.06.01
CentOS 5 WEB Server Enable userdir  (0) 2016.06.01
CentOS 5 WEB Server Install Ruby  (0) 2016.06.01
CentOS 5 WEB Server Install PHP  (0) 2016.06.01
댓글