Skip to Content
Technical Articles
Author's profile photo Martina Kirschenmann

SAP Single Sign-On: Protect Your SAP Landscape with X.509 Certificates

Overview

SAP Single Sign-On offers support for X.509 certificates. X.509 certificates are highly interoperable, supporting both SAP and 3rd party web applications and clients, including many legacy systems. You can set up your own dedicated public-key infrastructure (PKI) to issue X.509 certificates, or have the Secure Login Server software, a component of SAP Single Sign-On, issue short-lived certificates. With the Secure Login Server software, you do not need to set up a full-blown PKI with its inherent administrative processes, such as certificate revocation lists, but you can still benefit from the same level of security. Enabling this kind of scenario means that users can sign on once to gain access not only to their SAP business applications but also to many of their non-SAP applications.

Implementing Single Sign-On with X.509 Certificates and Secure Login Server

In the following video series, you will learn how you can use X.509 certificates issued by the Secure Login Server component to provide single sign-on functionality as well as secure communication for SAP GUI/browser applications and SAP NetWeaver Application Server ABAP. The videos will describe the necessary configuration step-by-step.

 

Part 1: Overview / Initialization (8:03 min)

Part 2: SNC Configuration (5:12 min)

Part 3: Enrollment of User Certificate (4:53 min)

Part 4: Single Sign-On via SNC (2:00 min)

Part 5: Single Sign-On via SSL (6:29 min)

Related Blogs

Reusing Kerberos Token for Issuing X.509 Client Certificates with Secure Login Server

Configuring SAML 2.0 Authentication for your Secure Login Server

SAP Single Sign-On: Authenticate with Kerberos/SPNEGO

More Information

For more information about SAP Single Sign-On, visit our community here:

https://community.sap.com/topics/single-sign-on

 

Assigned tags

      34 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Andreas Zigann
      Andreas Zigann

      Hello Martina,

      thank you very much for this Blog. It is really easy to follow. I have configured our landscape in the way you presented, but with SPNEGO Authentication to SLS and SPNEGO-Credentials in SNC of the users. The SSO with SAP Gui works fine, but WebGui does not work. Can you give me an advice what could be wrong?

      It would be fine if you could provide us with a Blog configuring AS Java this way, too.

      Best Regards
      Andreas

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Andreas,

      thank you. I am not sure I understand your scenario completely. In case you would like to reuse Kerberos tokens for issuing X.509 certificates through Secure Login Server, please refer to the step-by-step guide here: Reusing Kerberos Token for Issuing X.509 Client Certificates with Secure Login Server.

      In case you don’t want to use short-lived certificates issued by Secure Login Server for single sign-on at all, but Kerberos/SPNEGO instead, please have a look at our implementation videos here: SAP Single Sign-On: Authenticate with Kerberos/SPNEGO.

      Hope this helps. If you still run into problems, please open a customer ticket.

      Thanks,

      Martina

      Author's profile photo Former Member
      Former Member

      Hi Martina,

      Your blogs are very helpful. In your blog, you mentioned "X.509 certificates are highly interoperable, supporting both SAP and 3rd party web applications and clients," but I could not find information on how to support 3rd party or non-SAP application. Could you elaborate that a little bit?

      Thanks!

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Lignag,

      digital certificates that comply with the X.509 public key infrastructure (PKI) standard are supported by many business software products available today. Users can sign on once to gain access not only to their SAP software but also to many of their non-SAP applications (as long as the latter support X.509 certificates, of course). The configuration steps required to enable certificate-based authentication in these non-SAP applications are specific for the respective third-party application used.

      For a good overview about how SAP Single Sign-On implements X.509-based authentication, I recommend reading the SAP Insider article Secure Single Sign-On Across SAP Landscapes.

      We have also just updated our SAP Single Sign-On product overview presentation, which includes detailed information about our support for X.509 certificates.

      Regards,

      Martina

      Author's profile photo Gabriel Bertrand
      Gabriel Bertrand

      Dear Martina, does this require that the users in ABAP exist in Java UME ..or the Secure Login Server only just issue x509 certificate and ABAP user does not have to be in Java UME..

      Is there any license restriction on how many system/users can be setup for SSO using this Secured Login server/client. 

      Does this setup work in Citrix environment. ie secure login client is installed in Citrix and it connects to Secure Login Server to get certificate when users login to Citrix to SSO to SAP using SAPGUI..

      Ragards

      Gabriel

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Gabriel,

      in the demo videos above we are using the Java UME as login module for authentication of end-users. This is just an example. For an overview of other login modules supported by SAP Single Sign-On, please see the documentation here: https://help.sap.com/viewer/df185fd53bb645b1bd99284ee4e4a750/3.0/en-US/34fe686fc4d34c0a8f6973dc35e10d1d.html

      For specific licensing information, please contact your SAP Account Executive.

      Secure Login Client with Secure Login Server profile is compatible with Citrix. Please see the Product Availability Matrix (PAM) for supported versions: https://support.sap.com/content/dam/launchpad/en_us/pam/pam-essentials/TIP/PAM_SSO_30.pdf

      However, Local Security Hub is not supported. Please see SAP Note 2338174 for details: https://launchpad.support.sap.com/#/notes/2338174 (section Secure Login Client, Note).

      Regards,

      Martina

      Author's profile photo Former Member
      Former Member

      Hello Martina,

      thank you much for Information. I am planning SSO our System Landscape, we have BI AS ABAP on HANA, AS JAVA (new installed), BO (new installed), SAP-BI/BO Tools (BEx, Lumira etc.). we dont have any non-sap application. Could you please advice me, which SSO-Solution i need? x.509 or Kerberos? Should i  install for all Clients  “Sap Secure login Client Tool” for SSO ? can i also use without Secure Login Client tools to SSO?

      Thanks for you answer.

      Regards

      Sascha

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Sascha,

      SAP Single Sign-On supports Kerberos, X.509 certificates and SAML authentication technologies. Depending on what your backend systems support you can uses either technology.

      The Secure Login Client is responsible for the certificate-based and Kerberos-based authentication to the SAP application server when Windows-based SAP clients are used (such as SAP GUI).

      The Secure Login Client is also always necessary when the Secure Login Server is in use as a light-weight PKI (issuing X.509 certificates). When X.509 certificates are used for web scenarios, it is also possible to use the Secure Login Web Client instead of the Secure Login Client.

      SPNEGO does not require a client (no Secure Login Client needed).

      Regards,

      Martina

      Author's profile photo Subir Mookherji
      Subir Mookherji

      Hello,
      Nice and detailed article. Thank you for sharing it.
      We have successfully setup SSO 3.0 with x.509 certs and working fine with abap system.
      Please let us know the procedure if we have multiple client in abap system and how to achieve it using x.509 certs

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Subir,

      multiple clients are supported. When logging on to SAP GUI, in the dialog the user must select the respective client he wants to log on to.

      Regards,

      Martina

      Author's profile photo Subir Mookherji
      Subir Mookherji

      Hello Martina,

      Thank you for the update and clarification.

      Do we need to perform any specific configuration to get the SSO working for multiple clients with GUI. Because, though we have maintained the user mapping in SU01 for all clients. it is not working for all the other clients except the default login client.(for default login client SSO works fine)

      we are not getting the screen to make the selection to choose the desired login client with SSO.But instead it gets logged in automatically to default client.

      Next topic, we are also looking to configure SSL for the same ABAP system and get the SSO working for webgui. Issue is while we test the url for webgui or ping as per your 5th video, we are presented with the client certificate but the system still again requests for user id and password. icm/verify_client is set to 1.SSL certificates have been signed by SLS3.0 server and the Root certficates from it have been imported in browser as well.

      Not able to figure out what exactly is going wrong.

      Please suggest.

      Thanks & Regards

       

       

       

      Author's profile photo Subir Mookherji
      Subir Mookherji

      Hello Martina,

       

      We are bale to achieve SSO with GUI for ABAP system with multiple clients.

      Now as we proceed and follow the video 5, for setting up SSO for https access for the same abap system, we are not able to.

      We have followed steps like,

      1.SSL certficate CSR creation in ABAP system

      2.Signing the CSR from SSO3.0 .

      3.Installing the certficate response in the ABAP system and adding the certs to certficate list.

      4.Mapping the UID's in VUSREXTID table.

      5 Setup if icm/https/verify_client =1

      6.installed the ssl certs in the browser trusted store as well

      The webgui or ping url presents the certficate prompt  but still SSO not working and asking for password.

       

      Thanks for your time & suggestions

      Thanks & Regards

       

      Did i miss any steps here. Please suggest.

       

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Subir,

      please open a customer ticket and add the CCL and ICM traces in the ticket.

      Thanks,

      Martina

      Author's profile photo Pedro Martins
      Pedro Martins

      Thank you so much for this blog entry!

      Author's profile photo Ransome Mathias
      Ransome Mathias

      Hi Martina,
      We currently have PKI infrastructure and X.509 in our landscape. We want to configure SSO for fiori using X.509 certificates. In your video series which parts are more appropriate for us?
      Or do you have any other blog or sap documentation which can point me to. Please share any inputs you have for me. I truly appreciate any help from your side.

      Cheers,
      Ransome

      Author's profile photo bin zhang
      bin zhang

      What did you do later? Is there any case reference?

      Author's profile photo Abhijit Barui
      Abhijit Barui

      Dear Martina,

      Very nice detailed info..but i didnt find any info for configuring Java/Eportal SSO with windows AD credetials using SecureLoginServer 3.0?

      Please help.

       

      Thanks

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hi Abhijit,

      please refer to the blog SAP Single Sign-On: Authenticate with Kerberos/SPNEGO.

      There is a tutorial for configuring SSO for Application Server Java. Hope this helps.

      Best regards,

      Martina

      Author's profile photo Abhijit Barui
      Abhijit Barui

      Dear Martina,

       

      Thanks for the reply...the blog which you referred, i have already checked.

      I am trying to perform with x.509 certificate and the blog says about Kerbos..... also in my case the windows userid & the portal userid are different. So looking for a blog or step by step document which can help me.

      Please advice.

      Thanks.

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hi Abhijit,

      client authentication via X.509 certificates to Application Server Java is described in the SAP NetWeaver manuals. You can find the documentation here:

      https://help.sap.com/viewer/a42446bded624585958a36a71903a4a7/7.5.19/en-US/4a015cc68d863132e10000000a421937.html

      The customer can decide how to issue the X.509 certificates for the users. You can use the Secure Login Server of the SAP Single Sign-On product or your own existing PKI system.

      Best regards,

      Martina

      Author's profile photo Kundan Gandhi
      Kundan Gandhi

      Hi Martina/Abhijit,

      Have you configured SSO for JAVA system with X.509 certificate ?

      We are looking for JAVA part.

       

      We have configured following -

      1. Deploy SSO sca into NW JAVA stack - COMPLETED and WORKING
      2. Configure SSO for pure ABAP stack - COMPLETED and WORKING
      3. Configure SSO for pure JAVA stack (EP) - It is picking up certificate from Secure login client. However prompting for username/password ?

      It would be helpful if you provide your inputs here.

       

      Regards,

      Kundan Gandhi

      Author's profile photo Jens Krampe
      Jens Krampe

      Hello Martina,
      am i doing something wrong or are the videos offline?
      Kind regards,
      Jens

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Jens,

      The videos were temporarily unavailable, but they are up and running again. Sorry for the inconvenience.

      Best regards,

      Martina

      Author's profile photo Abu Sandeep
      Abu Sandeep

      Dear Martina,

      This is a very helpful document and we configured it all according to this and works fine. Is there any way, can we use LDAP as the user master data and authentication from AD directly from Secure login Server. Currently, it authenticates users from the Secure login Server which is JAVA and works fine. We would like to use the user master data as Active Directory. Is this possible?

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hello Abu,

      yes, you could use Active Directory for this. You will find documentation here:

      LDAP User Authentication

      An alternative would be to use Kerberos/SPNEGO as SSO technology. This would be much easier to configure than configuring LDAP authentication profile. You will find a how-to guide in this blog:

      SAP Single Sign-On: Authenticate with Kerberos/SPNEGO

      Best regards,

      Martina

      Author's profile photo Vinod Bhat
      Vinod Bhat

      Dear Martina,

      Thanks, we have Secure login client with server for SAP GUI and SNC.

      Do we have similar document for SAP BO 4.2 ?

      Thanks & Regards,

      Vinod

      Author's profile photo Rajanikanth Valluri
      Rajanikanth Valluri

      Hi Martina,

       

      Thank you very much for the detailed procedure and the videos and thank you again for spending time to reply to the most of the questions.

      Here are my questions.

      1. Do we need to have the secure login client if we use the SNC with out the SSO ?
      2. Do we need to have the license for SSO 3 to enable the SSO using X.509 or SAML methods ?
      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hi Rajanikanth,

      In case you want to use SNC without SSO functionality, you can use the so-called SNC Client Encryption 2.0. It allows you to encrypt the communication between client (SAP GUI) and server (AS ABAP), and is part of the SAP NetWeaver Application Server license. But it does not offer single sign-on functionality.

      For more detailed information about SNC Client Encryption 2.0, here is the link to the central SAP note: https://launchpad.support.sap.com/#/notes/2440692

      Concerning your second question:

      Yes, you need a license for the SAP Single Sign-On product if you want to use X.509 certificates for SSO. If the end users still use SAP GUI, then SAP Single Sign-On is mandatory, using Kerberos or X.509 certificates as SSO tokens. Please note that SAP GUI is not compatible with the SAML protocol. In case you have browser-based applications and you want to use SAML for SSO and use your own third-party IdP for this, then no license for the SAP Single Sign-On product is required.

      Best regards,
      Martina

      Author's profile photo Rajanikanth Valluri
      Rajanikanth Valluri

      Thank you for the reply.

      Still, I didn't get you on first question which is, do we need to have the Secure Login Client if we enable the SNC with out SSO.

       

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      No, you don't need the Secure Login Client in that scenario.

      Best regards,

      Martina

      Author's profile photo Rajanikanth Valluri
      Rajanikanth Valluri

      Thank you for the confirmation.

      Author's profile photo D Q
      D Q

      Hi Martina,

      SAP Single Sign-On conf. using X.509 certificates has been already configured and has been fully tested also. Users can successfully login via SNC (SAP Gui) and SSL (Web Access like Fiori).

      A new requirement is being analyzed. To use SAML to access Fiori with Azure AD (AAD) as identity provider (Idp).

      What is the best approach to integrate the current scenario with this new one?

      - Should the IDMFEDERATION add-on to be deployed on the Secure Login Server (SLS) and configure it as an Idp as well?

      - In case the above is required. How these to Idps should be linked?

      - Since the requirement is only for Fiori Access, is a good practice to use SAML for that kind of access and maintain SAP GUI access through X.509 certs as is currently being used?

      We were able to find info with regards to SSO for Fiori using Azure AD, but not able to find a scenario where SAP SSO 3.0 is in place and working. Would be helpful to get advices on how to integrate and maximize these approaches.

      Thanks and best regards

      Author's profile photo Martina Kirschenmann
      Martina Kirschenmann
      Blog Post Author

      Hi Diego,

      Azure AD is a cloud-based SAML Identity Provider and you can use it for SSO with browser-based business applications, such as SAP Fiori.

      However, Azure AD does not support desktop clients such as SAP GUI (as these are not compatible with the SAML protocol). If you want to implement SSO for scenarios that include SAP GUI, you need to use the SAP Single Sign-On product that supports SNC with either Kerberos or X.509 client certificates as SSO tokens.

      You could use SAML also for SSO with SAP GUI through the Secure Login Web Client, which is a component of the SAP Single Sign-On product. The Secure Login Web Client can accept a SAML 2.0 assertion as security token and in return provision an X.509 certificate for single sign-on of desktop applications such as SAP GUI. See documentation here: https://help.sap.com/viewer/df185fd53bb645b1bd99284ee4e4a750/3.0/en-US/bf25ca2ceb8f4baba6069d955fbb2a4c.html

      We no longer recommend to use the Federation component, our on-premise Identity Provider. SAP Cloud Identity Services – Identity Authentication service is our strategic solution for web applications. It is our cloud-based SAML Identity Provider. You will find more information here: https://community.sap.com/topics/cloud-identity-services.

      Best regards,

      Martina

      Author's profile photo D Q
      D Q

      Thanks for the clarification Martina

       

      Regards