Difference between revisions of "Webserver"

From Blue-IT.org Wiki

Line 9: Line 9:
 
Now add the following to your virtual hosts config file (test with ''default'')
 
Now add the following to your virtual hosts config file (test with ''default'')
 
  <VirtualHost *>
 
  <VirtualHost *>
 +
 
  [...]
 
  [...]
 
         SSLEngine on
 
         SSLEngine on
Line 14: Line 15:
 
         SSLProtocol all
 
         SSLProtocol all
 
         SSLCipherSuite HIGH:MEDIUM
 
         SSLCipherSuite HIGH:MEDIUM
 +
[...]
 +
 +
Restart the webserver
 +
sudo invoke-rc.d apache2 restart
  
  
 
== Subversion ==
 
== Subversion ==
 
* see [http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/ Installation of Subversion on Ubuntu, with Apache, SSL, and BasicAuth]
 
* see [http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/ Installation of Subversion on Ubuntu, with Apache, SSL, and BasicAuth]

Revision as of 20:26, 13 July 2008

Apache2

SSL

Ubuntu Hardy - 8.04

First create a server certificate. Please add the directory and filennames according to your needs:

sudo apt-get install ssl-cert
sudo mkdir /etc/apache2/ssl
sudo /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem

Now add the following to your virtual hosts config file (test with default)

<VirtualHost *>

[...]
       SSLEngine on
       SSLCertificateFile /etc/apache2/ssl/apache.pem
       SSLProtocol all
       SSLCipherSuite HIGH:MEDIUM
[...]

Restart the webserver

sudo invoke-rc.d apache2 restart


Subversion