Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Martina_K
Product and Topic Expert
Product and Topic Expert

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

 
54 Comments
andreas_zigann
Active Participant
0 Kudos
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
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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
Former Member
0 Kudos
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!
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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
0 Kudos

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

Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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/34fe686fc4d34c0a8f6973dc35e10...

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
Former Member
0 Kudos

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

Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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
0 Kudos
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
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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
0 Kudos
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

 

 

 
0 Kudos
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.

 
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Subir,

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

Thanks,

Martina
0 Kudos
Thank you so much for this blog entry!
0 Kudos
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
former_member621963
Discoverer
0 Kudos
What did you do later? Is there any case reference?
former_member702710
Discoverer
0 Kudos
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
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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
former_member702710
Discoverer
0 Kudos
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.
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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/4a015cc68d863132e10000000a...

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
0 Kudos

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

Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Jens,

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

Best regards,

Martina
abusandeep
Explorer
0 Kudos
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?
kundangandhi
Explorer
0 Kudos

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

Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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
VinodBhat
Explorer
0 Kudos
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
rajanikanthv
Discoverer
0 Kudos
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 ?

Martina_K
Product and Topic Expert
Product and Topic Expert
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
rajanikanthv
Discoverer
0 Kudos
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.

 
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
No, you don't need the Secure Login Client in that scenario.

Best regards,

Martina
rajanikanthv
Discoverer
0 Kudos
Thank you for the confirmation.
former_member189462
Participant
0 Kudos
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
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
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/bf25ca2ceb8f4baba6069d955fbb2...

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
former_member189462
Participant
0 Kudos
Thanks for the clarification Martina

 

Regards
asif_rahmetulla
Participant
0 Kudos
Hello Martina,

I have a few questions on SAPGui rollout with SNC settings and the Secure login client.

  1. Do we have to configure the SAPGui Network settings to enable SNC? Is there a way the user can login without SNC setting configured on local SAPLogon.ini using Secure Login client?

  2. Can Secure Login Client software be packaged with SAPGui installation using SAPSetup?


Thanks & Regards,

Asif

 

 

 
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Asif,

  1. For secure communication between SAP GUI and AS ABAP you need to enable SNC. You need to configure SNC in SAP GUI Network tab. You cannot configure SNC only in Secure Login Client.

  2. Yes, this is possible. Please see the SAPSetup support in the documentation here: https://help.sap.com/viewer/df185fd53bb645b1bd99284ee4e4a750/3.0/en-US/ec23df06808b497b998c28ce0673b...


Best regards,

Martina
asif_rahmetulla
Participant
0 Kudos
Hello Martina,

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?


Regards,

Asif

 
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Asif,

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.

Best regards,

Martina
asif_rahmetulla
Participant
0 Kudos
Thank you Martina

Appreciate your prompt response

Regards,

Asif
former_member327527
Discoverer
0 Kudos
Hello Martina,

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.

 

Regards

RV

 

 

 

 

 

 

 

 

 
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Rhishabh,

please open a customer ticket for your issue. The colleagues from SAP Support will be able to assist you. Thank you.

Best regards,

Martina
filip_mose
Discoverer
0 Kudos
Hello Martina,

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

Best regards

Filip

 

 
Martina_K
Product and Topic Expert
Product and Topic Expert
Hi Filip,

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:

https://help.sap.com/viewer/df185fd53bb645b1bd99284ee4e4a750/3.0/en-US/bf25ca2ceb8f4baba6069d955fbb2...

Concerning your licensing question: The SAP Secure Login Client is a component of the SAP Single Sign-On product and requires a license.

Best regards,

Martina
aadiel
Explorer
0 Kudos

Hi Martina

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

Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Adiel,

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.

Best regards,

Martina
Aroon
Newcomer
0 Kudos
Hi Martina,

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?

Thanks,

Aroon
Martina_K
Product and Topic Expert
Product and Topic Expert
Hello Aroon,

If you still want to use SAP GUI, then our current SAP Single Sign-On solution is mandatory, using Kerberos or X.509 certificates as SSO tokens and the SNC protocol. SAP GUI is not compatible with the SAML protocol and thus you cannot use the Identity Authentication Service.

But we are planning a new cloud-based solution to support SSO for SAP GUI. It is planned that the new solution integrates with an existing corporate identity provider, such as Azure AD, to benefit from its authentication capabilities.

You will find the road map of this new solution and more details in the SAP Road Map Explorer here:

https://roadmaps.sap.com/board?PRODUCT=AF740456A03F1EDDAA9212F748EDC3E2

Disclaimer: This is the current state of planning and may be changed by SAP at any time without notice.

Best regards,

Martina
0 Kudos
Hello Martina -

Thanks very much for all your input; it's very helpful.  My company is using Secure Auth as the IDP (where all users are authenticated against) and want to use SAP SSO 3.0 for SAPGUI SSO using X509 certificates.  I'm not sure if Secure Auth is supported as an IDP for SAP SSO 3.0 because the official list of LDAPs does not include Secure Auth.

I reached out to SAP support and they were not very clear with their response. Would you be able to tell me?  If it is supported, is a service user in Secure Auth required to set up a connection from SSO 3.0 or is a certificate based trust sufficient?

Thanks and Regards,

JGeorge
Martina_K
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Jake,

We have just released the new solution SAP Secure Login Service for SAP GUI that offers integration with corporate identity providers. I am not familiar with the Secure Auth IDP solution. If it is an IDP that supports SAML 2.0, then integration should be possible.

SAP Secure Login Service for SAP GUI builds on top of the successful concepts of SAP Single Sign-On and offers much better integration with existing corporate identity providers. You can find more information in the release blog post here:

https://blogs.sap.com/2023/05/04/sap-secure-login-service-for-sap-gui-now-available/

Or visit our topic page here:

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

Best regards,

Martina
steven_foo
Participant
0 Kudos
Do you mean by Cloud SAP Secure Login Service for SAP GUI?

This is going to be a huge additional cost to customer eg. an organization have 10000 users

estimate calculation:

325.00 x 20 = 6,500 per month x 12 = EUR78,000

SAP Discovery Center - SAP Secure Login Service (cloud.sap)

This does not make sense at all for such investment.
Other well known enterprise GUI application come with free SSO access enabled.
Our organization not only use SAP , so we can compare. The offering is very bad by SAP.