Block cipher pad is wrong

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Block cipher pad is wrong

Philip Bowden

I am trying to use OpenSSL to secure communications between 2 little apps that I am writing myself. I am trying to use TLSv1, and have tried many different approaches using ADH, as well as authenticating both ends of the connection, but no matter what I try, I always seem to get the error:

 

484:error:140D2081:SSL routines:TLS1_ENC:block cipher pad is wrong

 

on the server end after the call to SSL_accept has completed. On the client end I get the error:

 

2732:error:140940F6:SSL routines:SSL3_READ_BYTES:unknown alert type

 

Is it significant that the server end says TLS1 and the client says SSL3? Can someone help me understand what this all means – I am at a loss.

 

Cheers

 

Phill

Reply | Threaded
Open this post in threaded view
|

Block cipher pad is wrong

Philip Bowden

I am trying to use OpenSSL to secure communications between 2 little apps that I am writing myself. I am trying to use TLSv1, and have tried many different approaches using ADH, as well as authenticating both ends of the connection, but no matter what I try, I always seem to get the error:

 

484:error:140D2081:SSL routines:TLS1_ENC:block cipher pad is wrong

 

on the server end after the call to SSL_accept has completed. On the client end I get the error:

 

2732:error:140940F6:SSL routines:SSL3_READ_BYTES:unknown alert type

 

Is it significant that the server end says TLS1 and the client says SSL3? Can someone help me understand what this all means – I am at a loss.

 

Cheers

 

Phill