Problem mit SSL-Proxy

Apache, Lighttpd, nginx, Cherokee
Post Reply
michseel
Posts: 96
Joined: 2004-08-17 15:40
 

Problem mit SSL-Proxy

Post by michseel »

Hallo,

ich habe mir auf einen vServer ein SSL-Zertifikat selbst erstellt und einen SSL-Proxy eingerichtet. Leider startet der Apache nicht mehr neu. Folgender Error wird mir angezeigt:

Code: Select all

Configuration syntax error detected. Not reloading.

Syntax error on line 12 of /etc/apache/sslproxy.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
Die Datei sslproxy.conf:

Code: Select all

NameVirtualHost 123.456.78.9:443
<VirtualHost 123.456.78.9:443>

        ServerName ssl.meinedomain.de

        DocumentRoot /var/www/ssl

        Alias /img /var/www/ssl/img
        Alias /phpmyadmin /var/www/phpmyadmin

        SSLEngine On
        SSLCertificateFile /etc/apache/ssl.crt/server.crt
        SSLCertificateKeyFile /etc/apache/ssl.key/server.key

</VirtualHost>
Kann mir jemand sagen, was ich falsch gemacht habe oder was fehlt?

Gruß
michseel
neffe
Posts: 25
Joined: 2002-08-14 17:44
Location: Berlin
Contact:
 

Re: Problem mit SSL-Proxy

Post by neffe »

Hallo,

Code: Select all

module not included in the server configuration
dem fehlt offenbar das SSL Modul.

auch ist in der Configuration nichts von einem Proxy Server zu erkennen, das sieht aus wie ein ganz normaler vHost.

Gruß Neffe
michseel
Posts: 96
Joined: 2004-08-17 15:40
 

Re: Problem mit SSL-Proxy

Post by michseel »

Ja da hab ich mich wohl falsch ausgedrückt, ist ein normaler vHost und soll auch einer sein.

In der modules.conf ist folgendes eingetragen:

Code: Select all

LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so
In der httpd.conf ist eingetragen:

Code: Select all

Listen 80
Listen 443
Ist das nicht ausreichend?

Gruß
Michael
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Problem mit SSL-Proxy

Post by Roger Wilco »

michseel wrote:In der modules.conf ist folgendes eingetragen:

Code: Select all

LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so
Und das Modul wird auch sicher vor der sslproxy.conf geladen? :roll:
michseel
Posts: 96
Joined: 2004-08-17 15:40
 

Re: Problem mit SSL-Proxy

Post by michseel »

Das SSL-Modul wurde nicht korrekt geladen. Hab das jetzt manuell in die httpd.conf eingetragen, jetzt funktioniert es. :-)
Post Reply