on 01-19-2019 9:47 AM
Trying to create in the trial version of API Management an api that will send a request to our Cloud for Customer (C4C) system. I have defined in C4C the communication arrangement (inbound) to use SSL credentials using my certificate for my S-User that I generated using SAP Passport. I have successfully called that C4C service using SOAUPI and proved that it works if I set keystone in the SOPAUI request to use my SAP Passport Keystore (.pfx) and fails if no keystone sent.
Have followed this blog (which appears to be the only one for certificate based services!) that explains how to create a keystore (.Jar) to upload into API Manager.
SAP Cloud Platform API Management – Client Certificate Authentication for API calls
The issue is that every time I call the API service using SOAPUI it returns 401 'Unauthorised'. Really at a loss why it's not working !
My gut feel is that the error indicates an issue with the key store (.JAR) that I have had to add into API Management (under certificates) but I followed the above blog and have used online tools to check that the certificate and private key within the .Jar file are valid.
Please Help someone as driving me mad why it's not working!!!!
Some screenshots of the issue...
Calling the C4C Service directly - Proves that C4C is configured correctly!
SOAPUI Request Showing it Fails When No SSL Keystore Set - As Expected!
SOAPUI Request Showing it Succeeds When SSL Keystore Set - As Expected!
Configuration in C4C For Inbound Service
Communication Certificate
Shows my SAP Passport S-User Cert associated with the communication system 'PJ_TEST_2
API Management Trial Configuration
API Provider pointing to C4C and using the key store certificate
Key Store Entry 'myKeys_1' showing S-User
NOTE:- The key store is a Jar and contains the private key and the whole cert chain (cert + SAP Passport root) extracted from the SAP Passport .pfx file.
Definition of the API
Using the API Providor and URL for the endpoint as per C4C inbound comm arrangement
The Failure In SOPAUI UI!
peter.jones47 Were you able to figure this out?
We are stuck with the same problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.