Forum Discussion

jatinbhappy's avatar
jatinbhappy
New Contributor
4 years ago
Solved

Status": "TH99401: Invalid Client Certificate

Hello Team ,

 

We have recently bought an SSL certificate and implemented it in our AWS environment. We can observe that the SSL certificate is already been imported successfully "https://decoder.link/sslchecker/athos-api-uat.happy-tech.in/443". Our main purpose to buy the certificate was to make 2-way handshaking with one of our partners however when we do it we get failure.




Steps we did:-




-Configured certificate into our Aws Load balancer.

-Checked "https://decoder.link/sslchecker/" and our https works fine

-Hit the API from our server to our partner with body and got the below error.




HTTP/1.1 401 Unauthorized

Content-Type: application/json;charset=UTF-8

Content-Length: 276

Date: Fri, 16 Oct 2020 11:30:16 GMT

Server: myServer




{

"RequestEncryptedValue": "",

"RequestDigitalSignatureValue": "",

"SessionEncryptedValue": "",

"SessionDigitalSignatureValue": "",

"Source": "Happy_Lead",

"TransactionId": "2018-10-11T15:04:14.900+05:30",

"Status": "TH99401: Invalid Client Certificate"

}




- Just to narrow down our problem, we installed SOAP UI and tried to hit the API with Keystore(our private key in .p12 format) and trust store (our partner's public key).

- We got the same error, so to further narrow down, we generated a self-signed SSL certificate and tried with that, and it got a success . What can we check next?

4 Replies