NOTE: be SURE to get the right domain name — 2016-04-30
be SURE to use the www(dot) in addition the regular domain name! — 2016-05-02
Common Name (eg, your name or your server’s hostname) []:
1) create these two files using either virtualmin or openssl:
- Key file (example: ssl.key
- Certificate request (example ssl.csr)
2) take the ‘Certificate request’ file and put it into a certificate generator
3) the certificate generator will create two files:
- local cert file (example: ssl.cert)
- global cert file (example: 1_root.cert)
4) set up vi /etc/httpd/conf/httpd.conf as follows:
SSLEngine on
SSLProxyEngine on
SSLCertificateFile /home/domain.com/ssl.cert
SSLCertificateKeyFile /home/somain.com/ssl.key
SSLCACertificateFile /home/domain.com/1_root.cert
5) TEST the httpd.conf file:
/usr/sbin/httpd -t;6) restart apache:
systemctl restart httpd