"No available certificates or key corresponding to the cipher suites"
may also be associated with not calling
SSL_CTX_use_RSAPrivatekey[_*](3ssl), or the private key not matching
the public key in the certificate.  use_certificate first, then
use_RSA_Privatekey.

And don't forget to call SSL_CTX_check_private_key(3ssl), and check
its return value.

-Kyle H

On Fri, Dec 4, 2009 at 2:54 AM, Mohan Radhakrishnan
<radhakrishnan.mo...@gmail.com> wrote:
> Hi,
>
>     We see this message "no available certificates or key
> corresponding to the cipher suites" even before establishing a
> handshake. It is a mutual handshake. So keystores and truststores are
> there on both sides. Algorithms are RSA.
>
> Could this be caused due to a RSA bit size mismatch ? Would this error
> message be caused if one pair of keystore and truststore use 2048 and
> the other pair of keystore and truststore use 1024 ? Please share your
> experience.
>
>
> Thanks,
> Mohan
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-us...@openssl.org
> Automated List Manager                           majord...@openssl.org
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to