Unless someone recognizes the text, it might be helpful if you tell a little more about the server and client side.
frans. On Wed, 2007-10-10 at 00:09 +0200, Alessandro Baggi wrote: > I'm trying to make a client/server application with ssl connection but > the handshake doesn't work. > > Reading the manual page I've tried to do this to make ssl connection: > > Server layer: > > SSL_CTX *ssl = NULL; > SSL *new = NULL; > socketdescriptor = socketcreation(); > bind(...); > listen(...); > accept(...); > ssl = SSL_CTX_new(SSLv3_server_method()); > new = SSL_new(ssl); > SSL_set_fd(ssl, socketdescriptor); > SSL_accept(new); > > Client layer: > > SSL_CTX *ssl = NULL; > SSL *new = NULL; > socketdescriptor = socketcreation(...); > connect(..); > ssl = SSL_CTX_new(SSLv3_client_method()); > new = SSL_new(ssl); > SSL_set_fd(ssl, socketdescriptor); > SSL_connect(new); > > When I try to get SSL connection Server give me an error on SSL_accept, > that return -1 with message: Operation not permitted and Client give me > on SSL_connect 0 with the same message. > What is the right way to make an ssl connection? > > Thanks in advice. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]