Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache won't start because of SSL [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Mon Dec 14, 2009 8:46 pm    Post subject: Apache won't start because of SSL [SOLVED] Reply with quote

I am having the following problem:
I have updated apache from version 2.2.11 to 2.2.14-r1. I am running it in a chroot, so I have created a whole new chroot with this new apache and all needed libraries etc.. But now I am seeing this error message in the error_log and the new Apache will not start:

Code:

[Mon Dec 14 21:21:20 2009] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)


However, the certificate is configured! I took the whole configuration from the old version where it is working. I also tried putting a full path to the certificate and key files but to no avail. I am at a loss about what to do here... Thank you for any hints!

Code:

SSLCertificateFile /etc/apache2/ssl/server.crt


Last edited by selig on Thu Jan 21, 2010 8:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 874

PostPosted: Tue Dec 15, 2009 10:11 am    Post subject: Reply with quote

just a basic question: can apache reach the configured ssl-files (certs etc.) from out of its chroot? is ssl fully functional inside the chroot?
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Wed Dec 16, 2009 11:53 am    Post subject: Reply with quote

The SSL files are included in the chroot. Do you have any suggestion about how I could try whether SSL is fully functional in the chroot? I copied the same libraries/binaries into it as for the old one.
Back to top
View user's profile Send private message
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Thu Jan 21, 2010 8:50 pm    Post subject: Reply with quote

I tried updating the chroot gradually, with only needed library dependencies and now it works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum