Professional Documents
Culture Documents
SSL Certificate Installation of Apache2 Web Server
SSL Certificate Installation of Apache2 Web Server
SSL Certificate Installation of Apache2 Web Server
$ openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr
A.Fedora/CentOS/RHEL: /etc/httpd/conf/httpd.conf
httpd-ssl.conf
ssl.conf
In the /etc/apache2/sites-enabled/ directory.
7. In the VirtualHost section of the file please add these directives if they do not exist. It is best
to comment out what is already there and add the below entries.
1. SSLEngine on
2. SSLCertificateKeyFile /etc/ssl/ssl.key/server.key
3. SSLCertificateFile /etc/ssl/ssl.crt/yourDomainName.crt
4. SSLCertificateChainFile /etc/ssl/ssl.crt/yourDomainName.ca-bundle ***
8. Edit this Below line on /etc/httpd.conf OR /etc/apache2.conf
VirtualHost 192.168.0.1:443>
DocumentRoot /var/www/website
ServerName www.domain.com
SSLEngine on
SSLCertificateFile /etc/ssl/crt/primary.crt
SSLCertificateKeyFile /etc/ssl/crt/private.key
SSLCertificateChainFile /etc/ssl/crt/intermediate.crt</VirtualHost>