Apache not starting after bad attempt at ssl!

S25

Verified User
Joined
Oct 8, 2006
Messages
32
Ok hey guys! In my foolishness I checked directadmin.conf and saw where the ssl files were kept and I then just copied my new keys over them in the thought that it should sort Directadmin and Apache as an ssl key. It did not work!

Apache will not start since I did that, I do not know what to do! Tryed commenting out said things in directadmin.conf and no use, Tryed the rewrite_confs command (as I am using custombuild) and no use either!

Output of /var/log/httpd/error (probably not relevant)
tail -n 10 /var/log/httpd/error_log
[Tue Sep 09 20:13:10 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 09 20:14:00 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 09 20:14:10 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 09 20:15:00 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 09 20:15:10 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

Further up the log, Looks to be more relevat:

[Tue Sep 09 17:30:13 2008] [error] Init: Private key not found
[Tue Sep 09 17:30:13 2008] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Tue Sep 09 17:30:13 2008] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Sep 09 17:30:13 2008] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Tue Sep 09 17:30:13 2008] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
[Tue Sep 09 17:30:25 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)


Need any more info just ask, The OS is freeBSD I am using custombuild.
 
Last edited:
Yes I did and to no avail! I should also mention the machine is freeBSD.

Thanks very much for the help.
 
I did the same think for my ssl with no problem.
Are you sure that the ssl files are not corrupted or right?

is there something also in /var/log/httpd/ssl_engine_log ?
 
No I don't have that file! (weird I have been looking for it, Might be absent from apache2).
 
Back
Top