Reputation: 446
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?
Upvotes: 2
Views: 5177
Reputation: 8466
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.
Upvotes: 2