SAP Single Sign-On: Protect Your SAP Landscape with X.509 Certificates
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)
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
For more information about SAP Single Sign-On, visit our community here:
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.
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.
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?
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.
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..
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).
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.
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).
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
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.
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.
Thanks & Regards
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.
please open a customer ticket and add the CCL and ICM traces in the ticket.
Thank you so much for this blog entry!
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.
What did you do later? Is there any case reference?
Very nice detailed info..but i didnt find any info for configuring Java/Eportal SSO with windows AD credetials using SecureLoginServer 3.0?
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.
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.
client authentication via X.509 certificates to Application Server Java is described in the SAP NetWeaver manuals. You can find the documentation here:
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.
Have you configured SSO for JAVA system with X.509 certificate ?
We are looking for JAVA part.
We have configured following -
It would be helpful if you provide your inputs here.
am i doing something wrong or are the videos offline?
The videos were temporarily unavailable, but they are up and running again. Sorry for the inconvenience.
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?
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
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,
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.
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.
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.
No, you don't need the Secure Login Client in that scenario.
Thank you for the confirmation.
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
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.
Thanks for the clarification Martina
I have a few questions on SAPGui rollout with SNC settings and the Secure login client.
Thanks & Regards,
Thank you for your clarification!
There are times when user may not have single sign-on credentials for target system. Should the checkbox “SNC logon with user/password (no Single Sign-On” be selected or unselected to allow Encryption only as authentication method?
You can encrypt the communication between SAP GUI and AS ABAP server, even when not using single sign-on. You select "SNC logon with user/password (no Single Sign-On)". The user still has to enter his userID and password as no SSO is provided.
For more detailed information, see SAP Note 2440692 - Central Note for SNC Client Encryption 2.0.
Thank you Martina
Appreciate your prompt response
Your blog is really helpful.
I am facing a problem in Business Client 770 PL13, SLC v3 sp2 Pl12 and SS3.0 that NWBC connections are not working as GUI can directly login using x509 certificate (SLC) from BC. It always asking me for Id and Password.
Could you please help me to setup.
please open a customer ticket for your issue. The colleagues from SAP Support will be able to assist you. Thank you.
first, I would like to thank you for all the extensive work within this area, all your blogs are incredible and helpful.
As many others I'm coming here to seek your guidance.
I'm working on the test solution of SSO using Identity provider - Secure Login Server (AS JAVA) - SAP Secure Login Client - SAP GUI.
I was able to connect IP with SLS using SAML2.0. Now I want to bring in SAP Secure Login Client, this should be done somehow using authentication profile.
But I'm informationally stuck between all the blogs, documentation on SAP Help portal, implementation guides, and I'm not able to find the right one for my case.
Could you please advise solution to follow?
Also, I have noticed some cases on blogs, where licensing of SAP Secure Login Client is mentioned when using kerberos. But again, I'm not able to decipher the specific information if my solution needs specific license or not.
Thank you for you answer
As you know, SAP GUI is 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.
For your scenario, you can use 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 assertion from the corporate IdP as security token and in return provision an X.509 certificate for SSO of desktop applications such as SAP GUI.
See documentation here:
Concerning your licensing question: The SAP Secure Login Client is a component of the SAP Single Sign-On product and requires a license.
Thanks for the videos. I have been tasked to setup SSO in our environment. I have a question with sncwizard if i have a root certificate that was signed by external Authority how can add the root certificate from SLS to the same subject see the screenshot below. In your video you start with a new certificate. Looking forward to your reply
With the SNC wizard you can configure the SNC server certificate. Looks like you have already configured this through the STRUST transaction. You no longer need to do this in the SNC wizard and can just continue in the wizard.
Great article. Thanks for that.
I have got a question. We have already set up SSO using SAP IAS (Identity Authentication Service).
The customer do not have a local windows domain controller and everything goes via their Azure AD. So, SNC using Kerberos method (Service account) is not possible.
We are looking for a solution to set up SNC using X509 certificate but without the SSO. How is it possible, please?