rendered paste bodyhow installed openssl:
aptitude install openssl ssl-cert
mkdir /etc/apache2/ssl
openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/apache.pem
chmod 600 /etc/apache2/ssl/apache.pem
error /var/log/apache2/error.log
[Tue Oct 09 20:51:28 2007] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
[Tue Oct 09 20:51:30 2007] [error] Init: Private key not found
[Tue Oct 09 20:51:30 2007] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Tue Oct 09 20:51:30 2007] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Oct 09 20:51:30 2007] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Tue Oct 09 20:52:06 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
ssl.localhost - vhost:
<VirtualHost * >
# SSL (START)
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
# SSL (ENDE)
ServerAdmin EMAIL
#kann auch einfach eine IP sein
ServerName ssl.localhost
ServerAlias w.ssl.localhost w.ssl.localhost www.ssl.local$
DocumentRoot /var/www/md/ssl.localhost/website
<Directory /var/www/md/ssl.localhost/website>
Order Deny,Allow
Allow from all
# Zeige keine Verzeichnisse an
Options -Indexes
</Directory>
</VirtualHost>