[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#395823: workaround for 395823



I was able to work around the missing apache2-ssl-certification this way
(and posted about it in my blog
http://suppressingfire.livejournal.com/24056.html ):

     1. sudo apt-get install apache2
     2. sudo a2enmod ssl
     3. sudo mkdir /etc/apache2/ssl
     4. sudo openssl req $@ -config /usr/share/ssl-cert/ssleay.cnf -new
        -x509 -days 1460 -nodes -out /etc/apache2/ssl/apache.crt
        -keyout /etc/apache2/ssl/apache.pem
     5. sudo chmod 600 /etc/apache2/ssl/apache.pem
     6. sudo
        cp /etc/apache2/site-available/default /etc/apache2/site-available/ssl
     7. Change/Add the following lines to the top
        of /etc/apache2/sites-available/ssl:
                    NameVirtualHost *:443
                    <VirtualHost *:443>
                        SSLEngine On
                        SSLCertificateFile /etc/apache2/ssl/apache.crt
                
                SSLCertificateKeyFile /etc/apache2/ssl/apache.pem
                        ...
     8. sudo a2ensite ssl
     9. sudo invokerc.d apache2 restart

-- 
Michael R. Head <burner@suppressingfire.org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com




Reply to: