on 05-21-2021 1:30 PM
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
Hello Mani,
Please refer below blog and you need to perform certain setup in CF account for certificate based authentication.
Refer section " Configurations on Cloud Integration Tenant in CF" in below blog
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply.
As per the below blog if we add the snippet
{
"grant-types": ["client_x509"]
}
in service instance in BTP cockpit, then its possible for client based authentication. we need to add the snippet while creating the service instance in Process Integration.
(BLOG)https://blogs.sap.com/2019/08/14/cloud-integration-on-cf-how-to-setup-secure-http-inbound-connection-with-client-certificates/
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.