ssl_apache_ubuntu
Table of Contents
Creating CSR with OPEN SSL
This website will produce a command that you can use on your LINUX server to produce the Private key and CSR.
https://www.digicert.com/easy-csr/openssl.htm
Install
apt-get install mod_ssl
Vhost
<VirtualHost *:80> ServerName lukeslinux.co.uk ServerAlias www.lukeslinux.co.uk DocumentRoot /var/www/vhosts/lukeslinux.co.uk <Directory /var/www/vhosts/lukeslinux.co.uk> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost *:443> SSLEngine ON SSLCertificateFile /etc/apache2/conf/ssl/ssl.crt/lukeslinux_co_uk.crt SSLCertificateKeyFile /etc/apache2/conf/ssl/ssl.key/lukeslinux_co_uk.key SSLCipherSuite DEFAULT:!EXP:!SSLv2:!DES:!IDEA:!SEED:+3DES:!aNULL:!eNULL:!EXPORT:!MD5:!PSK:!RC4:!AES128:!RSA128 SSLProtocol all -SSLv2 -SSLv3 ErrorLog logs/lukeslinux.co.uk-error_log CustomLog logs/lukeslinux.co.uk common </VirtualHost>
Test SSL Install
https://www.sslshopper.com/ssl-checker.html
ssl_apache_ubuntu.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1