On Tue, Nov 02, 1999, Christian Niklaus wrote:
>
> I have the same problem with that public key
> like Marco wrote:
>
> > Apache:mod_ssl:Error: Private key not found.
> > **Stopped
> > error_log says:
> > mod_ssl: Init: Private key not found (OpenSSL library error follows)
> > OpenSSL: error:0D09B08F:asn1 encoding routines:d2i_PrivateKey:unknown
> > public key type
> > Maybe I have to re-encode the key or cert?
>
> I tried my installation with the snake-oil-keys - worked fine.
> The private key matches its certificate.
> Then i tried my luck with the DER-Versions of the key and the cert -
> i failed again.
>
> Could anyone please help me ?
> My boss seems to become a little bit unfriendly -
> cause i worked for a week on this SSL thing
> with no success.
Two hints:
1. If you already spent one week and want to stop wasting time, you're
_strongly_ encauraged to first try a Apache+mod_ssl+OpenSSL installation
_exactly_ as it's described in the INSTALL file or the website. This way
you get a running system first and as the second step you can try to change
your config, your certs/keys, etc. Don't try to do all at once.
2. If your keys make problems, check first with "openssl rsa -noout -text -in
<filename>" that the file can be read. If this already fails, you don't
have to complain mod_ssl or search for a solution at the mod_ssl edge. Then
it's already either an issue of OpenSSL or even with your key itself.
Same for the certificates: Check whether OpenSSL can read them
correctly with "openssl x509 -noout -text -in <file>", first.
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]