I am trying to debug a TLS related issue. TLS is setup between two application Client A & Server B. Both A & B have certificates exchanged and I have verified that certificates have the right extensions and is also verified successfully with its Root CA. The Root CA of the leaf certs are uploaded and is available to the applications trust store. During TLS in the wireshark , I see the following message flows :
CLIENT : Client Hello
SERVER : Server Hello , Certificate , Certificate request , Server Hello Done
CLIENT : Certificate , Client key exchange
CLIENT : Certificate Verify , Change Cipher spec , Encrypted Handshake Message
SERVER : Alert : Level Fatal, Description : Decrypt Error )
Also TLS logs shows :
TLS protocol error(ssl reason
code=block type is not 01 [106]),lib=rsa routines
[4],fun=RSA_padding_check_PKCS1_type_1 [112], errno=12 for
192956|<CLID::StandAloneCluster><NID::xxx.xxx.xxx.xxx><CT::0,0,0,0.0><IP::>
192956|<DE
V::><LVL::Error><MASK::0800>
Any pointers what could be causing the Decrypt error by the server side ? The certificates during the exchange in TLS are fine and can be chained up to their Root certificate properly.
Any pointers will be of great help !
Thanks in advance!