Human Capital Management Blogs by Members
Gain valuable knowledge and tips on SAP SuccessFactors and human capital management from member blog posts. Share your HCM insights with a post of your own.
cancel
Showing results for 
Search instead for 
Did you mean: 
eaksiri
Explorer

Transitioning to Certificate-Based Authentication for your EC Payroll and SAP Integration Suite Integration

Discover the shift in cybersecurity as SAP recommends certificate-based authentication over traditional username/password methods.

 

Contents

  • Introduction
  • Assumption
  • Process flow
  • Configuration guide
    • EC Payroll: Exporting the certificate from EC Payroll
    • SAP BTP: Importing the EC Payroll’s certificate to SAP Integration Suite
      • Add the service Process Integration Runtime to your subaccount
      • Create the service instance
      • Create a service key
  • Connection Testing
    • SAP Integration Suite: Integration flow for testing
    • EC Payroll: Make a connection test
  • Finally…

 

Introduction

As you may know, SAP advises using certificate-based authentication instead of user/password authentication, and they have good reason to do so. Because compared to the traditional username and password combination, it's a far more secure option.

So, the purpose of this blog is to instruct you on configuring the client certificate-based authentication between EC Payroll system and SAP Integration Suite.

eaksiri_1-1708594851518.png

I know (and understand) that most people can follow a guide from SAP. But as you can see, the SAP Help page has an extensive amount of content. Therefore, the goal of this blog is to help you to visualize what SAP is describing in its configuration guide.

References:

 

Assumption

  • Using Employee Central Payroll (EC Payroll)
  • Using SAP Integration Suite on SAP BTP
  • Most importantly, you have basic knowledge of EC Payroll, SAP Integration Suite, and SAP BTP

 

Process flow

eaksiri_2-1708594851520.png

 

Configuration guide

EC Payroll: Exporting the certificate from EC Payroll

These steps are similar if you have previously configured the Point-to-Point data replication between EC Payroll and SuccessFactors applications.

eaksiri_19-1708595696183.png

  1. Go to Trust Manager (tcode STRUST), then select the SSL client (100_SD).
  2. Double-click on your own certificate
  3. Export the certificate in the Base64 format

 

SAP BTP: Importing the EC Payroll’s certificate to SAP Integration Suite

Here comes the tricky parts.

The following actions must be taken if you are unlucky enough that all necessary services have already been enabled in SAP BTP.

 

Add the service Process Integration Runtime to your subaccount.

Under your subaccount’s entitlements, add a new service plan.

eaksiri_4-1708594851540.png

Search for the service Process Integration Runtime, and then select the below plans.

eaksiri_0-1708597973404.png

 

Save it.

eaksiri_6-1708594851549.png

 

Create the service instance

Go to Services & Instances and Subscriptions, then click Create.

eaksiri_7-1708594851557.png

Under the new instance creation, select the below information.

  • Service: Process Integration Runtime
  • Plan: integration-flow
  • Runtime Environment: Cloud Foundry
  • Space: <if you don’t have space yet, create it>

eaksiri_8-1708594851561.png

 

You can use the default values under the parameters tab. Technically, the role ESBMessaging.send will be granted to those who have the client certificate.

Now, we are ready to create it.

eaksiri_9-1708594851564.png

 

Create a service key

Under the newly created instance, click on Create Service Key.

eaksiri_10-1708594851568.png

Select the key type as External Certificate and then copy the EC Payroll’s certificate to External Certificate.

eaksiri_11-1708594851582.png

 

Here we go.

eaksiri_20-1708596222122.png

 

Connection Testing

SAP Integration Suite: Integration flow for testing

For testing purposes, you can utilize either your integration flow or the SAP standard-delivered integration packages. In my case, I employ my custom integration flow.

eaksiri_13-1708594851591.png

eaksiri_14-1708594851592.png

 

EC Payroll: Make a connection test

I create an RFC connection to SAP Integration Suite.

eaksiri_15-1708594851593.png

Make sure you choose the SSL certificate that you exported in the first step under the Logon & Security tab.

eaksiri_16-1708594851596.png

After you make a connection test, you should receive the successful HTTP response (status 200).

eaksiri_17-1708594851597.png

 

Finally…

There’s nothing lasts forever as well as the certificate. The certificate will usually expire after a year.

Setting up the notification for expiring certificates is therefore advised.

eaksiri_18-1708594851606.png

 

 

Labels in this area