In this blog we are going to see how to configure Web Dispatcher and its profile parameters to allow X509 certificate via Web Dispatcher.

Prerequisite:

  1. Ensure you are able to Register & Read data using X509 Certificates with SMP URL & port 8082 in REST Client
  2. You have a working Web Dispatcher setup with Admin access
  3. Root Certificate and corresponding Intermediate certificate if any
  4. SMP Server Certificate signed by CA
  5. Access Web Dispatcher Remote system
  6. PKI for signing the certificates

To get X509 working with oData and SMP you may refer to

By end of this blog we would achieve the following:

/wp-content/uploads/2016/07/10_999165.png

As part of the configurations, we shall follow these sequence below:

  1. Importing Certificate into WD
  2. Configure SAPSSLC
  3. Modify Profile Parameters
  4. Configure SMP Impersonator Role

Let us being:

Importing Certificate into WD

Login to web dispatcher admin URL:

Eg:  http://xxxxxxxx/sap/admin/public/default.html

Navigate to SSL & Trust Configuration and PSE Management.

You should be able to see options Manage PSE, you will have 3 options:

  • SAPSSLA
  • SAPSSLC – SSL client PSE
  • SAPSSLS – SSL server PSE

Select SAPSSLC

Under Trusted Certificates, click on “Import Certificate”, Select the Root Certificate and Import it

/wp-content/uploads/2016/07/1_999166.png

For security reasons, I have hidden the details. However, the steps are simple and you should be able to continue the confirmations and get them working with this procedure.

Click on “Import Certificate” again and select your Intermediate Certificate if you have them

Click on “Import Certificate” again and select your SMP Certificate which is signed by Intermediate Certificate / Root Certificate

Repeat the same steps for SAPSSLS and import all the three certificates.


Configuring SAPSSLC

  • Select SAPSSLC which is for Client
  • Create CA Request and submit the request to your PKI and download the signed details
  • Import the CA Response and create a certificate .CER format

After the import the configurations looks like this:/wp-content/uploads/2016/07/2_999200.png

Where Subject “CN=XXX” is the XXX Certificate which will be used as Impersonator in SMP Server.

Modifying the Profile Parameters:

Login to WD Remote System and Navigate to the following path:

C:\WD Installation Path\sap\WDS\SYS\profile

Open the file – WD_FILE_NAME

a. Adding Message Server

/wp-content/uploads/2016/07/3_999201.png

b. Adding ICM and Cipher

/wp-content/uploads/2016/07/4_999202.pngc. Modify the “mod_rules” as required according to your setup

Configuring SMP Impersonator Role

a. Login to SMP Sandbox and Navigate to Settings and Select the X509 Security profile and then click on Role Mapping

/wp-content/uploads/2016/07/5_999212.pngb. Click on Impersonator/wp-content/uploads/2016/07/6_999213.png

c. Import the WD Certificate to Physical Role Mapping, click on Browse and Select the certificate and add the Role to Mapped Role. The detail should like this

/wp-content/uploads/2016/07/7_999214.pngd. Click on Save and Save to get back to Setting Screen.

The configurations are completed and you should be able to test X509 with Web Dispatcher.

This should help you get the authentication with X509 from Web-Dispatcher.

Looking forward for your comments and feedback.

Regards,

Nagesh

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply