PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache will mit mod_ssl nicht starten



giga
26.03.02, 23:32
Ich habe Apache mit PHP und mod_ssl installiert, funktioniert auch alles nur wenn ich SSL einbinde und den apache mit apachectl startssl starten will erhalte ich folgende Fehlermeldung:

# apachectl startssl
[Wed Mar 27 00:32:43 2002] [warn] module mod_ssl.c is already added, skipping
/usr/sbin/apachectl startssl: httpd could not be started

# tail -f /var/log/apache/error_log
[Wed Mar 27 00:32:43 2002] [error] mod_ssl: Init: Unable to read server certificate from file /etc/apache/ssl.crt/server.crt (OpenSSL library error follows)
[Wed Mar 27 00:32:43 2002] [error] OpenSSL: error:0D09F007:asn1 encoding routines:d2i_X509:expecting an asn1 sequence

# cat /etc/apache/httpd.conf
# ==> mod_ssl configuration settings <==
#
# PACKAGES REQUIRED: apache.tgz (N series) and openssl.tgz (N series)
#
Include /etc/apache/mod_ssl.conf

-> mehr mod_ssl Einträge sind in der Datei nicht.

Hat jemand vielleicht ne Idee woran es liegen könnte?

netzmeister
27.03.02, 07:49
Unable to read server certificate from file


Du musst zuerst ein Zertifikat erzeugen: make certificate



Viele Grüsse

Eicke

giga
27.03.02, 10:14
Hab ich und das schon mehrmals :(

giga
27.03.02, 10:51
jetzt hab ichs nochmal versucht und bekomme: Apache:mod_ssl:Error: Private key not found.