On Thu, Nov 25, 1999, Julio V. Valdez Aguinaga wrote:
> /path/to/apache/sbin/apachectl
> Directory sbin, is not there, but the bin is in.
> so:
> /path/to/apache/sbin/apachectl start ------ works ---------
> luego
> /path/to/apache/sbin/apachectl startssl -------does not work ---------
Errr... what? If sbin already doesn't exists, then both have to fail, of
course. Seems like you got confused a little bit.
> /path/to/apache/bin/apachectl startssl: httpd could not be started
>
> the error_log say:
>
> mod_ssl: Init: Unable to read server certificate from file
> /path/to/apache/conf/ssl.crt/server.crt (OpenSSL library error follows)
>
> OpenSSL: error:0D09F007:asn1 encoding routines:d2i_X509:expecting an asn1
> sequence
>
> �What can i do?
Check your certificate file. It has to be in PEM-format (contains ---BEGIN..
and ---END... lines and the cert Base64 encoded in the middle) and check
whether you can read it with "openssl x509 -noout -text -in server.crt". If
this already fails, it's a plain certificate problem and has nothing to do
with mod_ssl. Then recreate it from scratch (if it was a test cert) or ask
your CA to resend it to you (if it was not a test cert). Perhaps it was
garbled.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]