Try:

openssl x509 -inform DER <server.crt >server.pem
and set the SSLCertificateFile directive in httpd.conf to server.pem 

hope, that helps...

Christian

On Tue, Jul 23, 2002 at 09:33:26AM -0400, Dirk van der Giesen wrote:
>  I have it like this:
> > 
> > -rw-r--r--    1 root    root        1029 Jul 11 10:27 server.crt
> > This should be sufficient for anyone running httpd right?
> > 
> > Thanks for your reply.
> > 
> > ----- Original Message -----
> > From: "Tony Paterra" <[EMAIL PROTECTED]>
> > To: "Dirk van der Giesen" <[EMAIL PROTECTED]>
> > Sent: Monday, July 22, 2002 3:55 PM
> > Subject: Re: httpd startup failure
> > 
> > 
> > > are the permissions set properly?  that could cause the read failure too.
> > > chmod them to whatever level is necessary for the user that httpd is
> > > running as.
> > >
> > > On Mon, 22 Jul 2002, Dirk van der Giesen wrote:
> > >
> > > > Dear people,
> > > >
> > > > When i execute '/usr/sbin/apachectl start' on Mandrake 8.2rc1, kernel
> > version 2.4.18-4mdksecure on i686
> > > > i get these error messages in the httpd error_log:
> > > >
> > > > [Mon Jul 22 14:38:06 2002] [error] mod_ssl: Init: Unable to read server
> > certificate from file /etc/httpd/conf/ssl/server.crt (OpenSSL library
> > errorfollows)
> > > > [Mon Jul 22 14:38:06 2002] [error] OpenSSL: error:0D09F007:asn1 encoding
> > routines:d2i_X509:expecting an asn1 sequence
> > > >
> > > > The first seems obvious as to what it's tryinhg to tell but i wouldn't
> > know what could be the reason for that. The file (server.crt) is definately
> > there. As for the second message i really don't what that could be about.
> > > >
> > > > All software i use  was distributed by this version of Mandrake
> > > >
> > > > Hope anyone can advise.
> > > >
> > > > Sincerely,
> > > >
> > > > Dirk van der Giesen
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to