Apache installation:
Httpd-2.0.52.tar.gz./configure --prefix = / usr / local / apache --enable-so --enable-cgi --enable-info --enable-shutrite --enable-spelling --enable -USERTRACK --ENABLE-DEFLATE --ENABLE-SSL --ENABLE-MIME-MAGIC
Make
Make Install
#openssl genrsa -des3 -out ca.key 1024
#openssl req -new -x509 -days 3650 -key ca.key -out ca.crt
OpenSSL Req -new -x509 -Days 365 -Nodes -out Ca.crt -Keyout Ca.Key
This will create a certificate that you sign your own. The meaning of the parameters: -days 365 makes the validity period of this certificate for 1 year, then it will not be reused. -new Create a new certificate -X509 Create a X509 certificate (your own signature) -Nodes No password mv ca.key /usr/rApache/conf/ssl.key/server.Key
Mv ca.crt /usr/local/apache/conf/ssl.crt/server.crl
Take out the listen: 80 comment in /usr/local/apache/htdocs/httpd.conf
/ usr / local / apache / bin / apachectl startssl