9

Using X.509 based authentication with SAP SuccessFactors Intelligent Service Cen...

 3 years ago
source link: https://blogs.sap.com/2021/08/23/using-x.509-based-authentication-with-sap-successfactors-intelligent-service-center-integration-center-and-cloud-integration/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
August 23, 2021 3 minute read

Using X.509 based authentication with SAP SuccessFactors Intelligent Service Center > Integration center and Cloud Integration

Dear SAP community,

Summary:

In this blog posting we will see one sample connecting SAP SuccessFactors Intelligent Service Center(ISC) > Integration Center(IC) > Cloud Integration (CPI) with X.509 based authentication (client certificate key) generated in Admin center > Security Center.

This method can be used to have better security instead of using Basic Authentication.

Let’s check the activity in the sequence.

Access the SAP SuccessFactors > Admin center > Security Center > X509 Certificates > “Add” button and fill the details like the sample below:

Screen-Shot-2021-08-23-at-08.32.40.png

For your reference, we used the selections:

  • Certification Authority (CA) = SAP Cloud Root CA
  • Signature Algorithm = SHA256WithRSA
  • Valid Until = max 1 year > please notice that you will need to get this certificate renewed post 1 year.

After you create your entry like the sample above, click in the “Download” > “X509 Certificate” > and save the file with .CRT extension in your computer to be used later (step 03).

Open the Admin center > Intelligent Service Center > Find your event > click in the right side to add one “Integration” from the “Custom Activities”, this will open your Integration center tool.

Screen-Shot-2021-08-23-at-08.37.10.png

  • Note = This post does not cover all the details/expertise required for ISC and IC setup, we will jump direct to the IC > “Destination Settings” part. If you want to learn more, please check the handbooks (ISC, ISC 02IC).

Create one Integration center Interface and just Save to be used later (step 04).

In the sample above, we created this integration center Interface named “ISC_IC_CPI_SAP” that will be triggered “When event is published”.

Don’t forget that in ISC you need to use the button “Actions” > “Save Flow“.

Access your SAP Cloud Integration tenant and create your custom artifact to receive this incoming API call from Integration center.

One easy way to achieve this is using HTTPS connector. Under “Connection”, select the field “Authentication” the option “Client Certificate”.

Using the button “Add”, select the file with .CRT extension created in the step 01 stored locally in your computer and upload in your tenant. Save and deploy your artifact!

Screen-Shot-2021-08-23-at-08.46.53.png

After you deploy, you can get your endpoint generated in the Overview > Manage Integration Content > your artifact name.

Screen-Shot-2021-08-23-at-08.52.18.png

This endpoint will be used in the Integration center “Destination Settings” (next step).

Open your Admin center > Integration Center > “Destination Settings” and edit the integration created in the step 02 from your ISC custom activity.

Screen-Shot-2021-08-23-at-08.55.04.png

In the sample above, we used the REST API URL from the CPI (step 03) and the Authentication Type “Client based Authentication”. In the field X509 Certificate = we selected from the dropdown the certificate created in the initial part of Security center (step 01).

The mentioned steps above covered in general the end to end setup.

When your ISC event is triggered, this will send the message to IC and later on to your CPI custom artifact.

If everything was setup correctly, will see the successful message in your Monitor from your tenant.

Screen-Shot-2021-08-23-at-09.00.37.png

Conclusion:

Certificate based authentication (X.509) is the market standard secure way of API connectivity.

Using the steps of this blog posting, our objective was helping our customers and partners achieving the same with our cloud tools:

  • SAP SuccessFactors Intelligent Service Center (ISC)
  • Integration Center (IC)
  • Cloud Integration (CPI)

Hope this sample could be helpful for you 🙂

Cheers

Soliman


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK