Apache supports HTTPS interviews
Create default certificate:
Install SSL module
# Yum–y install mod_ssl
Restart Apache Service
# Span style= "Color:rgb (255,0,0);" >service httpd Restart
Create a certificate manually:
Install OpenSSL
# yum–y Install OpenSSL Openssl-devel
To create the private key
# openssl Req-new-key server.key-out SERVER.CSR
Generate certificate CRT file
# OpenSSL x509–days 36500-req-in Server.csr-signkey Server.key-out server.crt
To move these three files to the certificate directory
# mkdir/etc/pki/tls/ Mycert
# mv server.*/etc/pki/tls/mycert
Specify certificate path
Open the SSL configuration file for Apache/etc/httpd/conf.d/ssl.conf
# vi/etc/httpd/conf.d/ssl.conf
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/C8/wKioL1csd5PTRoSdAAA1r8EmKV4345.png "title=" 111. PNG "alt=" Wkiol1csd5ptrosdaaa1r8emkv4345.png "/>
Save, exit
Restart Apache
This article from "Meteor Yu" blog, declined reproduced!
Apache supports HTTPS interviews