2

When I use openssl to create an ssl base server-client program, the SSL_accept in the server side and the SSL_connect in the client side are both return an error named 'SSL_ERROR_SSL', how can I fix this?

3
  • You might need to add a bit more info here and some code. Commented Jun 20, 2012 at 7:07
  • I used ERR_print_errors_fp(stderr), the ssl library says 'SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher', how can I deal with this? Commented Jun 20, 2012 at 7:14
  • What cipher list did you initialize the client SSL_CTX with? What cipher list did you initialize the server SSL_CTX with? Commented Jun 20, 2012 at 7:23

1 Answer 1

2

Check that OpenSSL_add_all_algorithms() is called after SSL_library_init().

Many chipher suites requires a certificate before the suite can be used. Please check that certificates exists.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.