Hello,
>         
>         Hi. I am new at this and at my wits end. I keep on getting the
>         same error when I try and start lighttpd. I have rekeyed my
>         cert 2 times now so I am fairly certain that it is not a
>         problem there. I have redone the KEY and CSR as well. I do not
>         know what to do. Please let me know if you have any ideas. 
>         
>         [EMAIL PROTECTED]:/etc/lighttpd# lighttpd
>         -f /etc/lighttpd/lighttpd.conf
>         2006-08-21 15:38:03: (network.c.362) SSL: Private key does not
>         match the certificate public key, reason: error:0906D06C:PEM
>         routines:PEM_read_bio:no start
>         line /www/app.tickspot.com/www*.simplethought.com.pem 
SSL_CTX structure has private key and X509 certificate.
After reading this data SSL_CTX_check_private_key() is called
to check if public key in certificate (numbers e,n) are the same
as in X509 certificate. In this case they are not.
This means that specified X509 certificate is not from your
private key.
To check, display certificate:
        $  openssl x509 -in crt.pem -noout -text
and private key:
        $ openssl rsa -in key.pem -noout -text
and look at modulus and public_exponent values - this numbers
should be the same. If not, you have incompatible certificate
or private key.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to