Javax.Crypto.AEADBadTagException: Tag Mismatch

2021-01-26 Thread Pravesh Rai
Hi, We've Java on the client side & OpenSSL on the server side. After updating Java to 1.8u261 & started getting following exception: Javax.Crypto.AEADBadTagException: Tag Mismatch when trying to communicate with a server having OpenSSL 1.0.2. Looks like the issue is due to AES-GCM ciphers. So,

Re: [openssl-users] tls handshake fail using cipher ECDHE-ECDSA-AES256-GCM-SHA384

2018-01-19 Thread Pravesh Rai
Following link might give you, some clue about the problem: https://stackoverflow.com/questions/30446431/wrong-cipher-suite-or-no-connection-with-openssl-server Regards, PR On Fri, Jan 12, 2018 at 9:27 PM, johan persson wrote: > I have problem doing handshake using "ECDHE-ECDSA-AES256-GCM-SHA3

[openssl-users] Problem in connecting to Java (Tomcat) server with ECDHE ciphers

2017-06-03 Thread Pravesh Rai
Hi, Even though I've disabled SSLvX protocols on both - client (openssl-1.0.2k) & server (Java 1.8 with Tomcat), still getting following handshake error, while executing: "openssl s_client -connect a.b.c.d: -msg -debug -cipher ECDHE-ECDSA-AES256-GCM-SHA384" ... read from 0x213f50 [0x21c410] (7

Re: SSL_set_fd() and fd type in Windows 64

2013-11-04 Thread Pravesh Rai
We get such types of warning while doing compilation for x64 environment, but normally don't face any problem during run-time. Thanks, PK On Tue, Nov 5, 2013 at 6:36 AM, wrote: > On Windows, sockets and filedescriptors are HANDLES which are pointers. > > This is all nice and fine on 32bit Wind

Re: memory crash when calling " X509_free" function

2013-10-03 Thread Pravesh Rai
Is it because x509 is a local variable in 1 function & freed in another? PK On Thu, Oct 3, 2013 at 5:22 PM, Sanjay Kumar (sanjaku5) wrote: > Hi, > > ** ** > > I have below 2 functions > > ** ** > > **1. **Received the certificate data is DER format and convert to > X509 format

Re: Openssl 1.0.1x build using VS 2012

2013-09-03 Thread Pravesh Rai
t in VS2012; maybe you added logging > code so you diagnose issues in the new DLL? > > ** ** > > *Patrick Watson, CISSP* > *Software Engineer > Data Security & Electronic Payment Systems > NCR Retail* > > > > *From:* owner-openssl-us...@openssl.o

Openssl 1.0.1x build using VS 2012

2013-08-29 Thread Pravesh Rai
Hi, Even though I'm successful in getting the OpenSSL build using VS 2012, but getting following error message: OPENSSL_Uplink(07FED5A31000,08): no OPENSSL_Applink while trying to 'load' libeay32.dll. The problem is solved, if we use another libeay32.dll, which is built using VS 2005. Except

Openssl 1.0.1x build using VS 2012

2013-08-29 Thread Pravesh Rai
Hi, Even though I'm successful in getting the OpenSSL build using VS 2012, but getting following error message: OPENSSL_Uplink(07FED5A31000,08): no OPENSSL_Applink while trying to 'load' libeay32.dll. The problem is solved, if we use another libeay32.dll, which is built using VS 2005. Except