Installation of apache self signed certificate
Step to Install Self Sign SSL on Apache
Step: – 1
Open your Apache configuration file in a text editor. Its location may be different, depending upon your operating system and Apache version, but generally you will find it at /etc/httpd/httpd.conf. In windows system, you will find it at
C:\Program Files\Apache\Apache2\conf\httpd.conf
Step – 2
Mostly, you will find the <VirtualHost> blocks in a separate file in a directory like /etc/httpd/vhosts.d/ or /etc/httpd/sites/. Add the lines in bold below.
<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>
Step – 3
Modify the file and path names to match your certificate files. Save the changes and exit the text editor.
Step – 4
Restart your Apache web server using one of the following commands:
/usr/local/apache/bin/apachectl startssl
/usr/local/apache/bin/apachectl restart
95%OFF

Comodo Positive SSL
78%OFF

RapidSSL Certificate
95%OFF
