mod_ssl/openssl error with test certificate?

mod_ssl/openssl error with test certificate?

am 05.03.2003 15:05:32 von omiller

modssl-users,

OK, I just built an apache + mod_ssl + mod_perl configuration. I
built the test certificate and installed it (make certificate && make
install). But when I 'apachectl startssl' I get the following
message:

[error] Init: Unable to read server certificate from file /opt/sisapache/conf/ssl.crt/server.crt (OpenSSL library error follows)
[error] OpenSSL: error:0D09F007:asn1 encoding routines:d2i_X509:expecting an asn1 sequence

I checked permissions and thought that might be the problem, however,
the problem persists even if I 'chmod 444
/opt/sisapache/conf/ssl.crt/server.crt'. Any thoughts?

Thanks,
Otto
---
Otto L. Miller
Network Architect
omiller@titan.com
Titan Systems
3877 Fairfax Ridge Road
Fairfax, VA 22030-7448
Phone: 703-383-8022
Fax: 703-383-4055

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: mod_ssl/openssl error with test certificate?

am 05.03.2003 19:21:59 von Geoff Thorpe

* Otto L. Miller (omiller@titan.com) wrote:

[snip]

> I checked permissions and thought that might be the problem, however,
> the problem persists even if I 'chmod 444
> /opt/sisapache/conf/ssl.crt/server.crt'. Any thoughts?

Could you post a copy of the server.crt file?

Cheers,
Geoff

--
Geoff Thorpe
geoff@geoffthorpe.net
http://www.geoffthorpe.net/

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re[2]: mod_ssl/openssl error with test certificate?

am 05.03.2003 21:19:33 von omiller

Geoff,

Opps! Checked out the file and it is a dummy ascii file :-(. I
replaced it with a 'real' file from the source tree and then it whined
about the private key. It too was a dummy ascii file. I replaced it
with a 'real' key file and voila... it all works! It never occurred
to me that 'make install' *does not* install the certificate files
files. Thanks to all who spent time on this!

Thanks,
Otto
---
Otto L. Miller
Network Architect
omiller@titan.com
Titan Systems
3877 Fairfax Ridge Road
Fairfax, VA 22030-7448
Phone: 703-383-8022
Fax: 703-383-4055

Wednesday, March 5, 2003, 1:21:59 PM, you wrote:

> * Otto L. Miller (omiller@titan.com) wrote:

> [snip]

>> I checked permissions and thought that might be the problem, however,
>> the problem persists even if I 'chmod 444
>> /opt/sisapache/conf/ssl.crt/server.crt'. Any thoughts?

> Could you post a copy of the server.crt file?

> Cheers,
> Geoff

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org