how to eneable https for apache,linux

when I deploy ssl for one customer,because he's using adminparize image,no https installed
I spend some hours to install ssl for them,really very easy after finish

the problem is :it's difficult to find exact info in google

1.sudo yum install mod_ssl

2. now the ssl.conf are under /etc/httpd/conf.d/ssl.conf

SSLCertificateFile /etc/httpd/conf/key/server.crt
SSLCertificateKeyFile /etc/httpd/conf/key/server.key

#openssl genrsa -des3 1024 -new > server.old.key

然后移除passphrase:

#openssl rsa -in server.old.key -out server.key

然后生成证书请求:

#openssl req -new -key server.key > server.csr

最后生成证书:

#openssl req -x509 -days 3650 -key server.key -in server.csr > server.crt


Price:
Free