Skip to Content
0
May 21 at 12:30 PM

unable to hit a tenant using client certification Authentication.

162 Views

Hello Everyone,

I'm trying to hit a SAP CPI tenant from my SAP CPI tenant using client certificate authentication via SOAP adapter but getting error while hitting the other tenant : Message processing failed.

Error Details Could not send Message., cause: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with https://******.it-cpitrial-rt.cfapps.us10.hana.ondemand.com/cxf/test1.

Basic Authentication is working fine but i would like to establish the same using client certificate based authentication.
I generated my tenant certificate from connection test tab and shared the certificate. Same has been installed in the other tenant keystore and the other tenant's certificate also been installed in my tenant. But getting Unauthorized error.

If i do a connection test to hit the other tenant using TLS and check the option of authenticate with client certificate. Im getting the below error :

Successfully reached host at ***.it-cpitrial.cfapps.us10.hana.ondemand.com:443 but client certificate was not used.

Please help if you feel if i missed something.


BR, MANI