Need help! Apache core dumps when running startssl

Girish Venkatachalam girish1729 at yahoo.com
Tue Aug 8 07:23:04 UTC 2006



--- Andreas Wider�e Andersen <wodfer at gmail.com>
wrote:

> On 8/8/06, Girish Venkatachalam
> <girish1729 at yahoo.com> wrote:
> >
> >
> >
> > --- Andreas Wider�e Andersen <wodfer at gmail.com>
> > wrote:
> >
> > > Hi,
> > > I recently upgraded one of my production servers
> to
> > > FreeBSD 4.11 p19 and
> > > then upgraded all ports. I'm now running Apache
> > > 1.3.36 mod_ssl and Php 4.4.2
> > > .
> > >
> > > I had Squirrelmail running on https and now I
> can't
> > > start Apache with ssl.
> > > Every time it coredumps. I've tried snakeoil and
> my
> > > own cert. Same thing
> > > happens.
> > >
> > > This is the error message I can see from my
> > > httpd-error.log:
> > >
> > > [Mon Aug  7 20:20:03 2006] [notice] caught
> SIGTERM,
> > > shutting down
> > >
> > > ssl-engine log:
> > >
> > > [07/Aug/2006 20:29:01 16880] [info]  Server:
> > > Apache/1.3.36, Interface:
> > > mod_ssl/2.8.27, Library: OpenSSL/0.9.8b
> > > [07/Aug/2006 20:29:01 16880] [info]  Init: 1st
> > > startup round (still not
> > > detached)
> > > [07/Aug/2006 20:29:01 16880] [info]  Init:
> > > Initializing OpenSSL library
> > > [07/Aug/2006 20:29:01 16880] [info]  Init:
> Loading
> > > certificate & private key
> > > of SSL-aware server my.domain.com:443
> > > [07/Aug/2006 20:29:01 16880] [info]  Init:
> Seeding
> > > PRNG with 136 bytes of
> > > entropy
> > > [07/Aug/2006 20:29:01 16880] [info]  Init:
> > > Generating temporary RSA private
> > > keys (512/1024 bits)
> > >
> > > from messages:
> > >
> > > Aug  7 20:34:52 server /kernel: pid 17041
> (httpd),
> > > uid 0: exited on signal
> > > 11 (core dumped)
> > >
> > > That's it. I can't find any other logs and I
> can't
> > > tell what's wrong.
> > >
> > > What could it be and what can I do? I have
> checked
> > > the httpd.conf file and
> > > compared the previous version with the new dist.
> > > Same directives related to
> > > ssl virtualhost as far as I can see.
> > >
> > > Hope to get some input.
> > Looks like ur random seeding is not happening
> > properly. check whether /dev/random and
> /dev/urandom
> > work properly. You can verify it with the command
> >
> > $openssl rand  512
> >
> > HTH,
> > Girish
> >
> 
> Thanks for your reply. This just gave me a lot of
> "garbage" on the screen.
> Ie, like this:
> 
> ¿Ð3•Éšï¼&–|¥¾W<pŒÞÐàvC~
>                         
>
jþ‚vzü¼ùµÒ¼}$(c)"swüg;€ñ¿gé¶ïa°(c)éå4|C—(c)\Î
>
}â„¢v=Ãñ5Î×%âÔÙZ`",BÜÃT‰‹þBÅ’v´ýh£ÙlõKkòä2ZüìÊg{Ã¥Vµ±ü3`BɁ¦Á(›¤>2çyõû12ÿNº9Ã
—ùèkÒ™ºß…¼'—ú
> 
> ...

Then that is working properly. I think you can try
this then. Which might also work and I am out  of
ideas. :-(

$ openssl genrsa 1024
> 
> Rgds,
> Andreas
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list