cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

API call with basic authentication and SSL certificate

marco-silva
Participant
0 Likes
2,258

Dear experts,

I'm trying to develop an iFlow to call an API.

I created an HTTP call to the Receiver and parameter the address like https://endpoint:port/prefix .

The receiver has my public certificate key, so I need to put my SSL certificate (p12) in the call, as well as my technical user / password.

Which of them should be on the "Credential Name"? I assume that I can put Authentication "Basic" and put the user / password in a credential in the "Security Material", but then how should I indicate the certificate for SSL trust?

Thank you in advance for your help.

Best regards,

Marco Silva

View Entire Topic
marco-silva
Participant
0 Likes

Hello Apu,

Thank you for your answer. In this precise case, I have a server client certificate and I gave the public key (.p7b) to the receiver. In my side, I have the certificate (.p12) and I have to call the API with a technical user (user + password). I uploaded the certificate key pair to the keystore and created the user / password credentials in the security material area. If I perform a REST call with SOAPUI for this API, with authorization "Basic" and indicating the user / password, having indicated the .p12 certificate in the SSL settings preference, I successfully perform an API call with JSON body. Now I want to perform the same action with CPI, but I'm struggling with this SSL connection, I don't understand how I can indicate the certificate that I uploaded to the keystore.

Regards,

Marco Silva