Re: [openssl-users] Storing session in file and reusing at client side

2016-05-02 Thread Shubham Chauhan
> Is it the server sending the error? No, it is the client sending the error. > Is the server running OpenSSL? Yes, I made the ssl_client and server (a simple chat functionality) scripts. > Does it happen with the same client running the same software with the > same IP address > or does it

Re: [openssl-users] Storing session in file and reusing at client side

2016-05-02 Thread Dr. Stephen Henson
On Mon, May 02, 2016, Shubham Chauhan wrote: > Hello, > > I wanted to store the freshly negotiated ssl/tls session in a file and > reuse it (via SSL_set_session()), in the next handshake. I was not able to > do that since the handshake got terminated giving a fatal error - illegal > parameters

[openssl-users] Storing session in file and reusing at client side

2016-05-02 Thread Shubham Chauhan
Hello, I wanted to store the freshly negotiated ssl/tls session in a file and reuse it (via SSL_set_session()), in the next handshake. I was not able to do that since the handshake got terminated giving a fatal error - illegal parameters (47). Although this works perfectly fine when I store the