Advertisement
garikaib

Apache SSL Directives

Jul 8th, 2015
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:443>
  2.        
  3.         #The ssl directives begin here
  4.         #Obtained from techzim.co.zw
  5.         SSLEngine on                                                                
  6.         SSLProtocol all -SSLv2                                                      
  7.         SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM                
  8.  
  9.         SSLCertificateFile /etc/apache2/ssl/ssl.crt                          
  10.         SSLCertificateKeyFile /etc/apache2/ssl/private.key                        
  11.         SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem
  12.        #The ssl directives will now end.
  13.        #The directives and guide were obtained @techzim.co.zw
  14.  
  15.         ServerAdmin webmaster@localhost
  16.         DocumentRoot /var/www/html
  17.         ServerName www.yoursiteadress.co.zw
  18.         <Directory /var/www/html/>
  19.            AllowOverride All
  20.         </Directory>
  21.  
  22.        
  23.         ErrorLog ${APACHE_LOG_DIR}/error.log
  24.         CustomLog ${APACHE_LOG_DIR}/access.log combined
  25.        
  26. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement