Hi guys!

I'm having the following problem when trying to start apache 1.3.11 with
mod_ssl 2.5.0 and openssl 0.9.4:

mod_ssl: Init: Unable to read server certificate from file
/usr/local/ssl/certs/compras.uol.com.br.gid (OpenSSL library error
follows)
OpenSSL: error:0D09F007:asn1 encoding routines:d2i_X509:expecting an
asn1 sequence

In my apache conf file:

---
SSLEnable
SSLCertificateFile /usr/local/ssl/certs/server.gid
SSLCertificateKeyFile /usr/local/ssl/private/server.key
SSLCertificateChainFile /usr/local/ssl/certs/verisign.chain
SSLLogLevel trace
---

Where server.gid is a base64 pem encoded global id certificate and
"verisign.chain" is the chain file that I've got from Verisign. I can do
a "openssl verify verisign.chain" but when I try a "openssl verify
server.gid" I got the error:

server.gid: unable to load certificate file
927:error:0D0A2007:asn1 encoding routines:d2i_X509_CINF:expecting an
asn1 sequence:x_cinf.c:106:address=1131914 offset=0
927:error:0D09F004:asn1 encoding routines:d2i_X509:nested asn1
error:x_x509.c:99:address=1131912 offset=2
927:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1
lib:pem_lib.c:239:

Anyone who had this problem solved it ? I hope so :) But how ?

Thanks in advance!
Sergio Salvi.
Sao Paulo/SP/Brazil.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to