Рет қаралды 4,722
In this video i have discussed about How to Create a Self-Signed SSL Certificate for you websites using Apache on Ubuntu.
Self-Signed SSL Certificate creation command
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/apache-selfsigned.key -out /etc/ssl/certs/apache-selfsigned.crt
Add the below SSL configuration lines in virtual host configuration.
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
Apache modules to be enabled
a2enmod ssl
a2enmod headers
For any queries reach me on below Skype ID
Skype ID : krishnastechinfo@gmail.com