PUBLIC Secure Login for SAP Single Sign-On Implementation Guide

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "PUBLIC Secure Login for SAP Single Sign-On Implementation Guide"

Transcription

1 SAP Single Sign-On 2.0 SP04 Document Version: PUBLIC Secure Login for SAP Single Sign-On Implementation Guide

2 Table of Contents 1 What Is Secure Login? System Overview Cryptographic Library for SAP Single Sign-On 2.0 SP03 or Higher Clients for Authentication Main System Components with Secure Login Server Main System Components without Secure Login Server System Overview with Secure Login Server Client Authentication Profiles PKI Structure Out-of-the-Box PKI Login Server PKI Integration Secure Communication Policy Server Overview Digital Signing with Secure Store and Forward (SSF) Migrating to SAP Single Sign-On 2.0 from Migrating SAP Single Sign-On to Release 2.0 SP Secure Login Client Secure Login Client Installation Unattended Installation with SAPSetup Installation Server Uninstalling Secure Login Client Updating the Secure Login Client to the Current Support Package Adding Root Certificates during Installation Option 1: Installing Root CA Certificates on a Windows Client Option 2: Distributing Root CA Certificates on Microsoft Domain Server Option 3: Distribute Secure Login Server Root CA Certificates Using Microsoft Group Policies Migrating Secure Login Client to SAP Single Sign-On 2.0 from Downloading Policies to Secure Login Client Using Profile Groups Downloading Policies to Secure Login Client Using the Policy Download Agent Creating a Profile Group of Client Authentication Profiles Configuring a Secure Login Client 2.0 to Run with Secure Login Server Getting User-Specific Profiles for Certificate Enrollment Configuring User-Specific Profile Download in Secure Login Client Downloading User-Specific Profile Groups to the Secure Login Client Configuration Options Enable SNC in SAP GUI User Mapping Overview of Registry Configuration Options SAP SE or an SAP affiliate company. All rights reserved. Table of Contents

3 2.6.4 Automatically Using the Proxy Configuration of Microsoft Internet Explorer for Secure Login Client Using Secure Login Client Profiles for Kerberos and Microsoft Cryptography API Tokens Browser-Based Enrollment of Secure Login Client Using a Secure Login Server Profile Smart Card Integration Digital Client Signature (SSF) Tracing Secure Login Client Enabling the Display of LDAP Messages in Secure Login Client SAP NetWeaver Business Client with Secure Login Client Secure Login Client for Citrix XenApp Secure Login Client with a Published Desktop Secure Login Client with a Published SAP Logon Other Features of Secure Login Client Secure Login Client for OS X Installing Secure Login Client on a Mac Client Uninstalling Secure Login Client from a Mac Client Configuring Secure Login Client on a Mac Client NWSSO for CommonCryptoLib Installing NWSSO for CommonCryptoLib Installing NWSSO for CommonCryptoLib 2.0 with an Application Server ABAP Installing NWSSO for CommonCryptoLib 2.0 with an Application Server Java Examples for Editing nwssoccl.lst Secure Login Library SAP Cryptographic Library for Secure Login Configurable Features of SAP Cryptographic Library Compatibility of SAP Cryptographic Library and Secure Login Library Secure Login Library Installation Downloading Secure Login Library Installing Secure Login Library on a Microsoft Windows Operating System Installation on a UNIX/Linux Operating System Uninstallation Updating Secure Login Library from 2.0 SP01 to the Current Support Package Downloading the Secure Login Library Software Updating Secure Login Library to the Current Support Package on a Microsoft Windows Operating System Updating Secure Login Library to the Current Support Package on a UNIX/Linux Operating System Configuring Secure Login Library During an Update to the Current Support Package Migrating Secure Login Library to SAP NetWeaver Single Sign-On 2.0 from Table of Contents 2014 SAP SE or an SAP affiliate company. All rights reserved. 3

4 4.5 Scenarios for Migrating to SAP Cryptographic Library of SAP NetWeaver Application Server ABAP Migrating from Secure Login Library Migrating from Secure Login Library 2.0 SP02 or Lower Standard and FIPS Certified Secure Login Library Crypto Kernel Using the FIPS Certified Secure Login Crypto Kernel Configuration of the Cryptographic Library Using the Single Sign-On Wizard to Configure SNC and SPNego SNC X.509 Configuration SNC Kerberos Configuration X.509 and Kerberos Authentication Kerberos Authentication for HTML-Based User Interfaces Using SAP NetWeaver Application Server ABAP with SPNego SNC Communication Protocol Parameters Use Case for Defining a Symmetric Algorithm User SNC Name Mapping Using Certificate Revocation Lists Digital Signatures (SSF) with a Hardware Security Module Configuration Options Configuring Tracing for the Cryptographic Library Secure Login Server Installation and Installation File Names Prerequisites for Installing Secure Login Server Secure Login Server Installation with Software Update Manager Secure Login Server Installation with Telnet Secure Login Server Uninstallation Initial Configuration Wizard Prerequisites for Running the Initial Configuration Wizard Initial Configuration Administration Starting the Secure Login Administration Console Changing Password Stopping and Starting Secure Login Server with Telnet Stopping and Starting Secure Login Server Using SAP Management Console Migrating Secure Login Server 2.0 from Overview of Login Modules Supported by SAP Single Sign-On Adding a Policy Configuration for SAP Single Sign-On Creating an Authentication Profile Pointing to a Policy Configuration Creating Destinations Setting the Enrollment URL for Secure Login Client Configuring Actions at Policy Download SAP SE or an SAP affiliate company. All rights reserved. Table of Contents

5 5.4.7 Migration of Certificate User Mapping in the Secure Login Server Secure Login Web Client Configuring Secure Login Web Client Connections to SAP GUI Using Secure Login Client in Web Adapter Mode Enabling SAP GUI to Use Credentials with Secure Login Web Client Security Features of Secure Login Web Client Mozilla Firefox Plug-In for Storing Secure Login User Certificates Rebranding Secure Login Web Client Export Restrictions Configuration User Mapping in Secure Login Server Managing Destinations Archiving Certificate Requests, Issued Certificates, and User Certificates Adding Certificate Authorities Using External User Certification Authorities Configuring Secure Communication Checking the Availability of Secure Login Server Configuration Configuration Examples Verify Authentication Server Configuration Integrate into Existing PKI High Availability and Failover for Secure Login Server and Secure Login Client Kerberos Authentication with SPNego LDAP User Authentication User Authentication against SAP NetWeaver Application Server for ABAP RADIUS User Authentication Identification Using RFID Tokens Parameter Reference Parameter Overview for Secure Login Client Registry Configuration Options SSF Parameters for Digital Signatures Parameter Overview for Secure Login Server Parameters for Initial Configuration (PKI Certificates) Parameters for Signing Certificate Requests Secure Login Client Policy and Profiles Parameters for the Policy Configuration Parameters for User Certificate Configuration Parameters for Destination Management Configuration Mapping of Parameters for a Migration of SAP Single Sign-On 2.0 from Parameter Overview for Secure Login Library Parameters for Certificate Revocation Lists Communication and Protocol Parameters (Server and Client) Table of Contents 2014 SAP SE or an SAP affiliate company. All rights reserved. 5

6 6.4 Parameter Overview for the SAP Cryptographic Library SNC Parameters for the SAP Cryptographic Library Troubleshooting Troubleshooting Secure Login Client Error in SNC User Name Not Found Invalid Security Token Wrong SNC Library Configured No Display of Password Expiration Warning Monitoring Secure Login Client SNC Error Codes in the Secure Login Client Troubleshooting Secure Login Library SNC Library Not Found Credentials Not Found No Credentials Found at Start of Application Server ABAP No User Exists with SNC Name Monitoring the Secure Login Library or the SAP Cryptographic Library Error Occurred with sapgenpse SNC Error Codes Troubleshooting Secure Login Server Secure Login Web Client Authentication Failed Trust Warnings in Secure Login Web Client Error Codes of SAP Stacktrace Errors Checklist User Authentication Problem Enable Fully Qualified Distinguished Name in Enrollment URL Locking and Unlocking Secure Login Server SNC Problem Secure Login Authentication Profile Lock and Unlock Internal Server Message Error Codes Monitoring Secure Login Server Logging and Tracing Secure Login Server with the Log Viewer of SAP NetWeaver Administrator List of Abbreviations Glossary Secure Login Security Guide Before You Start Component Overview Secure Login Library SAP SE or an SAP affiliate company. All rights reserved. Table of Contents

7 Installation Procedures and Settings for Secure Login Library Initialization Procedures for Secure Login Library Configuration Procedures and Settings for Secure Login Library Runtime Security Considerations for Secure Login Library Secure Login Client Installation Procedures and Settings for Secure Login Client Initialization Procedures for Secure Login Client Configuration Procedures and Settings for Secure Login Client Runtime Security Considerations for Secure Login Client Secure Login Server Installation Procedures and Settings for Secure Login Server Initialization Procedures and Settings for Secure Login Server Configuration Procedures and Settings for Secure Login Server Runtime Security Considerations for Secure Login Server Secure Login Web Client Microsoft Windows Server Domain Controller Microsoft Windows Server Active Directory LDAP Directory Server RSA Authentication Server Open Source Licenses Sun Java Platform Standard Edition SDK (J2SDK) (JDK) Windows Template Library Code Project - Pretty IE Toolbar in C#, Code Project - Adding Icons to System Tray RSA Cryptoki: Cryptographic Token Interface Standard API (PKCS #11) SSLeay zlib libxml2, JQuery Java Access Bridge SHA, Flex Google GSON AES-NI Sample Library Table of Contents 2014 SAP SE or an SAP affiliate company. All rights reserved. 7

8 1 What Is Secure Login? Secure Login is an innovative software solution specifically created for improving user and IT productivity and for protecting business-critical data in SAP business solutions by means of secure single sign-on to the SAP environment. Secure Login provides strong encryption, secure communication, and single sign-on between a wide variety of SAP components. For more information, see the central SAP Note SAP GUI and SAP NetWeaver platform with Secure Network Communications (SNC) HTML-based user interfaces and SAP NetWeaver platform with Secure Socket Layer SSL (HTTPS) Third-party application servers supporting Kerberos and X.509 certificates In a default SAP setup, users enter their SAP user name and password on the SAP GUI logon screen. SAP user names and passwords are transferred through the network without encryption. To secure networks, SAP provides a Secure Network Communications interface (SNC) that enables users to log on to SAP systems without entering a user name or password. The SNC interface can also direct calls through the Secure Login Library to encrypt all communication between SAP GUI and the SAP server, thus providing secure single sign-on to SAP. Secure Login allows you to benefit from the advantages of SNC without being obliged to set up a public-key infrastructure (PKI). Secure Login allows users to authenticate with one of the following authentication mechanisms: Windows Domain (Active Directory Server) RADIUS server LDAP server SAP NetWeaver Application Server Smart card authentication If a PKI has already been set up, the digital user certificates of the PKI can also be used by Secure Login. Secure Login also provides single sign-on for Web browser access to the SAP EP (and other HTTPS-enabled Web applications) with SSL. 1.1 System Overview Secure Login consists of several components (Secure Login Server, Secure Login Client, NWSSO for CommonCryptoLib 2.0, and Secure Login Library). Secure Login is a client/server software system integrated with SAP software to facilitate single sign-on, alternative user authentication, and enhanced security for distributed SAP environments. The Secure Login solution includes several components: Secure Login Server Central service that provides X.509v3 certificates (out-of-the-box PKI) to users and application servers. The Secure Login Web Client is an additional function. Secure Login Server also provides fast RFID identification for users of kiosk PCs on the shop floor (see the related link) SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

9 Secure Login Client Client application that provides security tokens (Kerberos and X.509 technology) for a variety of applications. NWSSO for CommonCryptoLib 2.0 NWSSO for CommonCryptoLib 2.0 enables you to use the full scope of functions of the SAP Cryptographic Library, which is the default cryptographic library of the SAP NetWeaver Application Server ABAP (see the related link). A new installation of SAP Single Sign-On 2.0 SP03 or higher uses this cryptographic library. For more information on the SAP Cryptographic Library, see SAP Note Library supports both X.509 and Kerberos technology. Secure Login Library Cryptographic library for an SAP NetWeaver Application Server ABAP.. The SAP Cryptographic Note You do not need to install all of the components. The components that you require depend on your use case scenario. Related Information SAP Cryptographic Library for Secure Login [page 82] The SAP Cryptographic Library (CommonCryptoLib) is the default cryptographic library for a newly-installed SAP Single Sign-On 2.0 SP03 or higher. Identification Using RFID Tokens [page 238] Multiple users want to quickly log on to kiosk PCs using RFID tokens and perform short tasks Cryptographic Library for SAP Single Sign-On 2.0 SP03 or Higher SAP Single Sign-On can run with the following cryptographic libraries provided by SAP: SAP Cryptographic Library (CommonCryptoLib), which comes with the kernel of SAP NetWeaver Application Server ABAP (see SAP Note ). For more information, see the related link. Secure Login Library (SLL), which is an optional component of SAP Single Sign-On. Note If you are running SAP Single Sign-On with Secure Login Library, simply upgrade your Secure Login Library to 2.0 SP03. In this case, you continue using your existing configuration. The instance profile parameter containing the path to Secure Login Library remains unchanged. As of release 2.0 SP03, a newly installed SAP Single Sign-On uses the SAP Cryptographic Library as the default cryptographic library for SNC and SPNego for ABAP. If you want to, you can migrate to the SAP Cryptographic Library (see the related link). What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 9

10 Related Information SAP Cryptographic Library for Secure Login [page 82] The SAP Cryptographic Library (CommonCryptoLib) is the default cryptographic library for a newly-installed SAP Single Sign-On 2.0 SP03 or higher. Compatibility of SAP Cryptographic Library and Secure Login Library [page 85] The SAP Cryptographic Library (CommonCryptoLib) supports the same features as the Secure Login Library. However, there are some differences concerning the compatibility of these libraries. Scenarios for Migrating to SAP Cryptographic Library of SAP NetWeaver Application Server ABAP [page 99] If you want to migrate to SAP Single Sign-On 2.0 SP03 with the default SAP Cryptographic Library, start the migration from a system that is using Secure Login Library as its default cryptographic library Clients for Authentication Secure Login runs with the following clients for authentication: Related Information Authentication Methods of Secure Login Client [page 10] The Secure Login Client is integrated with SAP software to provide single sign-on capability and enhanced security. Authentication Methods of Secure Login Web Client [page 11] Authentication Methods of Secure Login Client The Secure Login Client is integrated with SAP software to provide single sign-on capability and enhanced security. Secure Login Client can be used with Kerberos technology, an existing public key infrastructure (PKI), or together with the Secure Login Server for certificate-based authentication without having to set up a PKI. The Secure Login Client can use the following authentication methods: Smart cards and USB tokens with an existing PKI certificate Secure Login Server and authentication server are not necessary. Microsoft Crypto Store with an existing PKI certificate Secure Login Server and Authentication Server are not necessary. Microsoft Windows Credentials The Microsoft Windows Domain credentials (Kerberos token) can be used for authentication.the Microsoft Windows credentials can also be used to receive a user X.509 certificate with the Secure Login Server SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

11 User name and password (several authentication mechanisms) The Secure Login Client prompts you for your user name and password and authenticates with these credentials using the Secure Login Server in order to receive a user X.509 certificate. All of these authentication methods can be used in parallel. A policy server provides authentication profiles that specify how to log on to the desired SAP system. Related Information Main System Components without Secure Login Server [page 14] Authentication Methods of Secure Login Web Client This client is based on a Web browser (Web GUI) and is part of the Secure Login Server. The Secure Login Web Client has the same authentication methods as the standalone Secure Login Client, but with the following limited functions: Limited integration with the client environment (interaction required) Limited client policy configuration Related Information Secure Login Web Client [page 182] Secure Login Web Client is a feature of the Secure Login Server that is a Web-based solution for the authentication of users in Web browsers (in portal scenarios) on a variety of platforms and for launching SAP GUI with SNC Main System Components with Secure Login Server Overview of the main system components in an environment with Secure Login Server, Secure Login Client, and SAP Cryptographic Library. The following figure shows the Secure Login system environment with the main system components if an existing PKI or Kerberos infrastructure is used. What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 11

12 The Secure Login Client is responsible for the certificate-based authentication and Kerberos-based authentication to the SAP application server. The Secure Login Server is the central server component that connects all parts of the system. It enables authentication against an authentication server and provides the Secure Login Client with a short term certificate. The Secure Login Server is a pure Java application. It consists of a servlet and a set of associated classes and shared libraries. It is installed on an SAP NetWeaver Application Server. You can set the initial configuration and administration in the Secure Login Administration Console. The configuration data is stored in the database and can be displayed using the J2EE Engine GUI Config Tool in the path SecureLoginServer. The Secure Login Server provides client authentication profiles to the Secure Login Client or Secure Login Web Client. It allows flexible user authentication configurations (for example, which authentication type should be used for which SAP application server) Authentication Methods with Secure Login Server Secure Login supports several authentication methods. It uses the Java Authentication and Authorization Service (JAAS) as a generic interface for the different authentication methods. For each supported method, there is a corresponding configurable JAAS module SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

13 The following authentication methods are supported: Microsoft Active Directory Service (ADS) RADIUS RSE SecurID token LDAP ABAP-based logon SAP NetWeaver Application Server Java User Management Engine SAP NetWeaver Application Server Java SPNego Workflow with X.509 Certificate Request Using Secure Login Server The following figure shows the principal workflow and communication between the individual components. 1. Upon connection start, the Secure Login Client retrieves the SNC name from the SAP NetWeaver Application Server ABAP (AS ABAP). 2. To generate this SNC name, the Secure Login Client uses the client policy of the Secure Login Server. 3. The Secure Login Client provides the user credentials. 4. The Secure Login Client generates a certificate request. What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 13

14 5. The Secure Login Client sends the user credentials and the certificate request to the Secure Login Server. 6. The Secure Login Server forwards the user credentials to the authentication server (for example, an LDAP or RSA server) and receives a response indicating whether the user credentials are valid or not. 7. If the user credentials are valid, the Secure Login Server generates a certificate response and provides it to the Secure Login Client. 8. Secure Login Client provides the user certificate to SAP GUI. 9. This user certificate is used to perform single sign-on and secure communication (SNC) between the SAP GUI or web GUI client and the AS ABAP Main System Components without Secure Login Server The following figure shows the Secure Login system environment with the main system components: The Secure Login Client is responsible for the certificate-based and Kerberos-based authentication to the SAP application server SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

15 Authentication Methods without Secure Login Server In a system environment without Secure Login Server, the Secure Login Client supports the following authentication methods: Table 1: Authentication Methods without Secure Login Server Authentication Method Authentication with X.509 certificates Details The certificate provider sends the X.509 certificates through secure network communication (SNC). The following certificate providers work with X.509 certificates: Smart card and USB tokens with an existing PKI certificate Microsoft Crypto Store (Certificate Store) In SNC the Secure Login Client can perform authentication with encryption and digital signing certificates. The Secure Login Client supports RSA and DSA keys. Authentication with Kerberos tokens For more information about the authentication with a Kerberos token, see the related link. Related Information Workflow with Kerberos Token without Secure Login Server [page 17] The following figure shows the principal workflow and communication between the individual components. What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 15

16 Workflow with X.509 Certificate without Secure Login Server The following figure shows the principal workflow and communication between the individual components. 1. Upon connection start, the Secure Login Client retrieves the SNC name from the SAP NetWeaver AS ABAP. 2. The Secure Login Client uses the authentication profile for this SNC name. 3. The user unlocks the security token, for example, by entering the PIN or password. 4. The Secure Login Client receives the X.509 certificate from the user security token. 5. The Secure Login Client provides the X.509 certificate for single sign-on and secure communication between SAP GUI or Web GUI and the AS ABAP. 6. The user is authenticated and the communication is secured. Note Microsoft Internet Explorer uses the Microsoft Crypto API (CAPI) for cryptographic operations. The Microsoft Crypto API has a plug-in mechanism for third-party crypto engines. The Crypto Service Provider (CSP) from SAP is such a plug-in. It provides the user keys to all CAPI-enabled applications SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

17 Workflow with Kerberos Token without Secure Login Server The following figure shows the principal workflow and communication between the individual components. 1. Upon connection start, the Secure Login Client retrieves the SNC name (User Principal Name of the service user) of the respective SAP server system. 2. The Secure Login Client starts at the Ticket Granting Service a request for a Kerberos Service token. 3. The Secure Login Client receives the Kerberos Service token 4. The Secure Login Client provides the Kerberos Service token for SAP single sign-on and secure communication between SAP Client and SAP server. 5. The user is authenticated and the communication is secured. 1.2 System Overview with Secure Login Server This topic gives you an overview of an environment using Secure Login Server. The main feature of the Secure Login Server is to provide an out-of-the-box PKI for users and application server systems (for example, SAP NetWeaver). What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 17

18 Users receive short term X.509 certificates. For the application server, long term X.509 certificates are issued. Based on the industry standard X.509v3, the certificates can be used for non-sap systems as well. In order to provide user certificates, the user needs to be authenticated (verified by the Secure Login Server). Therefore the Secure Login Server supports several authentication servers. 1.3 Client Authentication Profiles The client authentication profile feature of Secure Login allows you to determine a certain user authentication method. An authentication profile uses a user CA and an authentication method against a certain client type. You can select either the type Secure Login Client or Secure Login Web Client. The enrollment URL, PKI, and the client behavior is downloaded to each client. You can define the user certificates, for example, with LDAP user mapping using attributes from LDAP or Active Directory, or user logon ID padding and archive certificate requests. You are free to change the Distinguished Name in many ways. SAP NetWeaver Administrator organizes the client authentication profiles in authentication stacks with login modules. Using authentication stacks makes sure that Secure Login is a failover solution. 1.4 PKI Structure You can integrate the PKI in different ways. There are different integration scenarios available for Secure Login Server Out-of-the-Box PKI Login Server Secure Login Server provides standard X.509 certificates for users (short term) and application server (long term). The following out of the box PKI structure can be delivered with the Secure Login Server SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

19 1.4.2 PKI Integration As the Secure Login Server is based on industry standard X.509v3, it is possible to integrate the Secure Login Server to an existing PKI. The required minimum is to provide a user CA certificate to the Secure Login Server. What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 19

20 SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

21 1.5 Secure Communication The goal of the Secure Login solution is to establish secure communication between all required components: The following table displays the security protocol or interface that is used for secure communication between various components. Table 2: Technology Used for Secure Communication From To Security Protocol / Interface SAP GUI SAP NetWeaver DIAG/RFC (SNC) Business Explorer SAP NetWeaver DIAG/RFC (SNC) Business Client SAP NetWeaver DIAG/RFC (SNC) Web GUI SAP NetWeaver DIAG/RFC (SNC), HTTPS Secure Login Client Secure Login Server HTTPS (SSL) Secure Login Server LDAP server HTTPS (SSL) Secure Login Server SAP NetWeaver RFC (SNC) Secure Login Server RADIUS server RADIUS (shared secret) What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 21

22 1.6 Policy Server Overview Secure Login Client configuration is profile-based. You can configure the application contexts to provide a mechanism for automatic application-based profile selection. The system then searches the application contexts for specific personal security environment universal resource identifiers (PSE URIs). If no matching PSE URI is found, a default application context that links to a default profile can be defined. The application contexts and profiles are stored in the Microsoft Windows Registry of the client. You define these parameters in the XML policy file. Example The following tables shows an example for dependencies of application contexts and profiles: Table 3: Dependencies of Application Contexts and Profiles Application Contexts Application A.1 PSE URI (A.1) Profile P.x Application A.2 PSE URI (A.2) Profile P.y Application A.3 PSE URI (A.3) Profile P.x Application A.4 Default PSE URI Default Profile P.z Application A.4 does not have a PSE URI that is specifically assigned to application A.4. For this reason, a default PSE URI is used. It links to a default profile with settings are configurable in the XML policy file. Table 4: Profiles and Related Settings Profiles and Related Settings Profile P.x Profile P.y Default Profile P.z Settings P.x Settings P.y Settings for Default Profile P.z 1.7 Digital Signing with Secure Store and Forward (SSF) SAP Single Sign-On supports digital signing using the Secure Store and Forward (SSF) interface of the Application Server ABAP. Secure Login Client enables you to make system signatures with your SAP user and your Microsoft Windows password from Microsoft Active Directory SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

23 The SAP Cryptographic Library provides digital signatures (SSF) with encryption keys that are embedded in a hardware security module. For more information, see the related links. Related Information Digital Client Signature (SSF) [page 59] The Secure Login Client can use X.509 certificates for digital signatures in an SAP environment. Digital Signatures (SSF) with a Hardware Security Module [page 148] You can use X.509 certificates for digital signatures in an SAP environment. A hardware security module provides keys for encryption and digital signing that are highly secure and very fast. 1.8 Migrating to SAP Single Sign-On 2.0 from 1.0 This topic describes the scenarios for migrating to SAP Single Sign-On 2.0 from 1.0. We assume that you run SAP NetWeaver Single Sign-On 1.0. You want to migrate to SAP Single Sign-On 2.0 from 1.0. The following scenarios are possible: 1. Install Secure Login Server 2.0 on a separate SAP NetWeaver Application Server in addition to your Secure Login Server 1.0. Run both Secure Login Servers in parallel. Tip We recommend that you use this scenario for migration. a. Configure the authentication profiles on Secure Login Server 2.0 using the protocol type for SAP NetWeaver Single Sign-On 1.0 in the enrollment URL. b. Update the policy URL on the Secure Login Clients 1.0 to match with Secure Login Server 2.0 using profile groups in the Secure Login Server. c. Update Secure Login Client 1.0 by distributing the Secure Login Server 2.0 configuration among the clients. d. After having updated all Secure Login Clients to version 2.0 you change the protocol type of the enrollment URL on the Secure Login Server to 2.0. The client receives the configuration automatically with the policy download agent. For more information, see the related link. 2. Update Secure Login Client 1.0 to 2.0 and keep Secure Login Server 1.0. In this case, follow the instruction in the related link, which describes how you migrate Secure Login Client to version 2.0. The configuration for the clients in the Secure Login Server remain the same. You need not make any further changes in the configuration. 3. Update Secure Login Server from 1.0 to 2.0. Caution Updating Secure Login Server from 1.0 to 2.0 on an SAP NetWeaver Application Server means that Secure Login Server 2.0 overwrites Secure Login Server 1.0. What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 23

24 Caution The Secure Login Client configuration is not valid anymore. You must change the configuration. a. Configure the authentication profiles and the profile groups of the Secure Login Server as described in the related link. b. Update the configuration of the Secure Login Client as described in the related link. 4. Update Secure Login Server from 1.0 to 2.0 and keep Secure Login Client with version 1.0. Caution The Secure Login Client configuration is not valid anymore. The Secure Login Client 2.0 does not work with Secure Login Server 2.0. You must change the configuration. In the configuration of the Secure Login Server, you must use the protocol for SAP NetWeaver Single Sign-On 1.0 in the enrollment URL. This protocol is compatible with the clients running on version Secure Login Client 1.0. Set the protocol for SAP NetWeaver Single Sign-On 1.0 in the enrollment URL for every single client authentication profile in the Secure Login Client Settings tab of the Secure Login Administration Console. For more information, see the related link. (Optional) If, for any reason, you want to use Secure Login Library instead of the default SAP Cryptographic Library, proceed with a migration of Secure Login Library. For more information, see the related link. Related Information Configuring a Secure Login Client 2.0 to Run with Secure Login Server 1.0 [page 42] This use case describes the settings if you run Secure Login Client of SAP Single Sign-On 2.0 with Secure Login Server 1.0. Migrating Secure Login Server 2.0 from 1.0 [page 168] The following section describes how you migrate Secure Login Server 2.0 from 1.0. The migration depends on the client and on the login modules you use. Downloading Policies to Secure Login Client Using Profile Groups [page 37] During the migration, the Secure Login Client needs the client authentication policies of the Secure Login Server 2.0. Creating a Profile Group of Client Authentication Profiles [page 40] You can use profile groups filled with the client authentication profiles of the Secure Login Server 2.0 when you migrate Securer Login Client. Setting the Enrollment URL for Secure Login Client [page 176] During a migration, you must adapt the protocol of the enrollment URL in Secure Login Server. Migrating Secure Login Library to SAP NetWeaver Single Sign-On 2.0 from 1.0 [page 97] This topic describes how you migrate the cryptographic library from SAP NetWeaver Single Sign-On 1.0 to SAP SE or an SAP affiliate company. All rights reserved. What Is Secure Login?

25 1.9 Migrating SAP Single Sign-On to Release 2.0 SP03 This topic describes how you migrate SAP Single Sign-On to 2.0 SP03, a release that uses the SAP Cryptographic Library, which comes with the SAP NetWeaver Application Server as default cryptographic library. Context With SAP Single Sign-On 2.0 SP03 or higher, Secure Login can use the SAP Cryptographic Library for SNC and SPNego for ABAP. This library is the default cryptographic library provided by the SAP NetWeaver Application Server. For more information, see SAP Note To migrate to SAP Single Sign-On 2.0 SP03, take the following steps: Caution If you are running Secure Login Client1.0 and/or 2.0 SP02 or lower, you must establish SNC name compatibility. For more information, see the related link. Procedure 1. Migrate to the SAP Cryptographic Library from Secure Login Library. For more information, see the related link. 2. Update the Secure Login Client. For more information, see the related link. 3. Update the Secure Login Server with the Software Update Manager. For more information, see the related link. Related Information Compatibility of SAP Cryptographic Library and Secure Login Library [page 85] The SAP Cryptographic Library (CommonCryptoLib) supports the same features as the Secure Login Library. However, there are some differences concerning the compatibility of these libraries. Scenarios for Migrating to SAP Cryptographic Library of SAP NetWeaver Application Server ABAP [page 99] If you want to migrate to SAP Single Sign-On 2.0 SP03 with the default SAP Cryptographic Library, start the migration from a system that is using Secure Login Library as its default cryptographic library. Updating the Secure Login Client to the Current Support Package [page 31] To update the Secure Login Client 2.0 to the current support package, take the following steps. Secure Login Server Installation with Software Update Manager [page 156] This topic describes how you install Secure Login Server with the Software Update Manager. What Is Secure Login? 2014 SAP SE or an SAP affiliate company. All rights reserved. 25

26 2 Secure Login Client The Secure Login Client is a client application that provides security tokens (Kerberos and X.509 technology) for a variety of applications. 2.1 Secure Login Client Installation This section explains the installation and the installation options of the Secure Login Client. Context An installation of the Secure Login Client in a Citrix XenApp environment does not require any special steps or settings. (Optional) If, in the case of a new installation, you want to use the policy download agent for getting the client policy configuration from Secure Login Server to Secure Login Client, you must take care that you fulfill the following prerequisites. You have deployed the new policy URL (located in the policy group settings) before you execute SAPSetup. SAPSetup restarts the policy download service and pulls the client configuration from Secure Login Server. You have established SSL trust in the clients by having imported the SSL host certificate. For more information, see related link. Note The Secure Login Client 2.0 installation procedure uninstalls the old MSI-based Secure Login Client 1.0. This is only true for Secure Login Client 1.0 SP1 or higher. If you run Secure Login Client 1.0 SP0, uninstall it manually before you start the installation of Secure Login Client 2.0. Procedure 1. To download the SAP Single Sign-On software from the SAP Service Marketplace, go to service.sap.com/swdc. 2. Choose Installations and Upgrades Browse our Download Catalog SAP NetWeaver and complementary products SAP NetWeaver Single Sign-On SAP NetWeaver Single Sign-On 2.0 Installation. 3. Download the installation package SAPSetupSLC.exe. 4. Start SAPSetupSLC.exe to install Secure Login Client. The Secure Login Client installation package of the Secure Login Client component contains the following options SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

27 Table 5: Installation Components of Secure Login Client Option SAP Secure Login Client Start during Microsoft Windows login Secure Login Server Support Kerberos Single Sign-On Description This option installs the basic components of Secure Login Client. This feature is mandatory. Option for an installation under Citrix XenApp, see related link. This option installs authentication support with Secure Login Server. Based on the provided user credentials, the Secure Login Server provides user certificates to the Secure Login Client. If you choose Secure Login Server Support, it comes together with the options Crypto & Certificate Store Providers, Policy Download Agent, and Web Adapter mode. In the integrated Web Adapter mode, you enable the Secure Login Client to create and store private keys for the Secure Login Web Client. This feature installs the Kerberos authentication support. To hide the Kerberos profile, do not install this feature. 5. To continue, choose Next. 6. Choose Install. Close the window of the installation package. The Secure Login Client starts automatically when a user logs on. 7. (If applicable) Distribute the installation with SAPSetup means. Related Information Secure Login Client for Citrix XenApp [page 69] This section describes how to use the Secure Login Client in a Citrix XenApp environment. Option 1: Installing Root CA Certificates on a Windows Client [page 33] To ensure secure communication and a trust relationship, you install root CA certificates on Windows clients. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 27

28 2.1.1 Unattended Installation with SAPSetup Installation Server This topic describes how you run an unattended installation of Secure Login Client with the SAPSetup Installation Server. Context You use the SAPSetup Installation Server to distribute SAP front-end software on multiple workstations across the network. You can create your own installation package or deploy Secure Login Client on multiple clients. An administrator has several possibilities to distribute Secure Login Client to various clients. Create a dedicated installation package for distribution among multiple clients using SAPSetup Installation Server. Deploy Secure Login Client on multiple clients using SAPSetup Installation Server. Restriction An unattended installation with SAPSetupSLC package delivered by SAP only includes the preselected (default) installation options. An administrator cannot select or unselect options. As an example, an administrator can create a dedicated installation package on a central installation server and then distribute it among the clients. Caution When you install Secure Login 2.0, you uninstall an old MSI-based Secure Login Client 1.0. Procedure 1. Start SAPSetup as described in Software Logistics Toolset 1.0 SAPSetup. 2. Use the method that suits you best to distribute Secure Login Client to the client workstations Uninstalling Secure Login Client There are multiple ways to uninstall Secure Login Client. Using Control Panel in your Microsoft Windows operating system Using SAP Setup SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

29 Using a command line tool Uninstalling Secure Login Client with Microsoft Windows Control Panel You can uninstall Secure Login Client using Control Panel of Microsoft Windows. Procedure 1. Start Control Panel in your Microsoft Windows operating system. 2. Choose the option for uninstalling a program 3. Select the row for Secure Login Client. 4. Choose the button for uninstallation. 5. Follow the instruction of the wizard. You have now uninstalled your Secure Login Client Uninstalling Secure Login Client with SAPSetup Here you find a description how you uninstall Secure Login Client using SAPSetup. Context If you want to uninstall Secure Login Client, you can use SAPSetup. For more information on SAPSetup, see related link. Note SAPSetupSLC is a default SAPSetup. It support all default parameters and arguments. Procedure 1. Start SAPSetupSLC.exe. 2. Unselect all options. 3. The wizard guides you through the uninstallation. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 29

30 Related Information Secure Login Client Installation [page 26] This section explains the installation and the installation options of the Secure Login Client Uninstalling Secure Login Client with a Command Line Tool Here you find a description how you uninstall Secure Login Client using a command line tool. Context You can uninstall Secure Login Client with the command NwSapSetup.exe. It is located in the installation directory. Microsoft Windows 32 bit: %ProgramFiles%\SAP\SapSetup\setup Microsoft Windows 64 bit: %ProgramFiles(x86)%\SAP\SapSetup\setup Note NwSapSetup.exe also offers a repair function. Use the following command: NwSapSetup.exe /product:"slc" /repair For an uninstallation, proceed as follows: Procedure 1. Start a command prompt. 2. Enter the uninstallation command. Example NwSapSetup.exe /product:"slc" /uninstall /nodlg You have uninstalled Secure Login Client SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

31 2.2 Updating the Secure Login Client to the Current Support Package To update the Secure Login Client 2.0 to the current support package, take the following steps. Context You can download the Support Package software from the SAP Service Marketplace. You do not need to uninstall the existing version of the Secure Login Client. You simply run the installation software and overwrite your existing Secure Login Client. Procedure 1. Go to 2. Choose Support Package and Patches Browse our Download Catalog SAP NetWeaver and complementary products SAP NetWeaver Single Sign-On SAP NetWeaver Single Sign-On 2.0. Note The file name of the installation kit indicates the support package, the patch level number, and a temporary download ID is appended. 3. Start the installation as decribed in the related link. 4. To display the version number of your software, right-click the blue diamond of the Secure Login Client in the Microsoft Windows notification area. 5. Choose About Secure Login... The version number 2.0 Support Package 1, and the patch level are displayed. Related Information Secure Login Client Installation [page 26] This section explains the installation and the installation options of the Secure Login Client. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 31

32 2.3 Adding Root Certificates during Installation This section describes how to integrate the installation of the Secure Login Server root CA certificate (Microsoft Certificate Store) for the Secure Login Client into software distribution tools. Context Note The customized aspects of this installation are associated only with the integration with Secure Login Server. To export a root CA certificate from the Secure Logon Server, proceed as follows: Procedure 1. Open the Secure Login Administration Console. Example 2. Go to the Certificate Management tab. 3. Select the root CA you want to export. 4. Choose the Export Entry button. 5. Choose the export format X.509 Certificate. This means that the exported certificate file has the file extension.crt. The dialog box displays the file name, type, size, and the download link. Note You might be prompted to enter and confirm a password to encode the entry file. 6. Choose Download button. 7. (Optional) Rename the file so that it indicates the origin of the root CA certificate. 8. Save it in a location of your choice SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

33 2.3.1 Option 1: Installing Root CA Certificates on a Windows Client To ensure secure communication and a trust relationship, you install root CA certificates on Windows clients. Context In the client environment, you need to install the root CA certificate from Secure Login Server or the certificate of the SSL root CA. The root CA certificate is used to establish secure communication to the Secure Login Server. To make sure that you can download policies from Secure Login Server to the clients using the policy download agent, you must establish SSL trust by importing an SSL host CA certificate to the clients. Procedure Use the Microsoft CertMgr tool, which is part of the Microsoft Windows Software Development Kit (SDK,) to import certificates. In a system with a Secure Login Client installation, use the following command to import a certificate: Syntax certmgr.exe /add /all /c <root_ca_file> /s ROOT /r localmachine The root CA certificate is provided by the Secure Login Server. Example certmgr.exe /add /all /c SLS_RootCA.crt /s ROOT /r localmachine certmgr.exe /add /all /c SSL_host_RootCA.crt /s ROOT /r localmachine Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 33

34 2.3.2 Option 2: Distributing Root CA Certificates on Microsoft Domain Server Context To distribute Secure Login Server root CA certificates to all clients in Active Directory, proceed as follows: Procedure 1. Log on to the Microsoft Domain Server as administrator. 2. Start the command prompt in Microsoft Windows. 3. Use the following command:certutil dspublish f <root_ca_file> RootCA 4. Restart your client. After a restart the group policies are updated. This pushes the certificates to the client. To do so, you can also use the command gpupdate /force Option 3: Distribute Secure Login Server Root CA Certificates Using Microsoft Group Policies This topic shows you how to distribute Secure Login Server root CA certificates using Microsoft Group Policies Use the corresponding procedure in the related link. Related Information Distributing Root CA Certificates Using Microsoft Group Policies with Microsoft Windows Server 2008/2008 R2 [page 35] These steps describe how to distribute root CA certificates using Microsoft Group Policies. Distributing Root CA Certificates Using Microsoft Group Policies with Microsoft Windows Server 2003/2003 R2 [page 35] These steps describe how to distribute root CA certificates using Microsoft Group Policies SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

35 Distributing Root CA Certificates Using Microsoft Group Policies with Microsoft Windows Server 2008/2008 R2 These steps describe how to distribute root CA certificates using Microsoft Group Policies. Context To distribute Secure Login Server root CA certificates using Microsoft Group Policies, take the following steps: Microsoft Windows Server 2008/2008 R2 Procedure 1. Open the Control Panel in Microsoft Windows. 2. Go to the administrative tools. 3. Open the Group Policy Management Editor. 4. Navigate to Forest Domain. Choose the domain name. To edit the default domain policy, right-click Edit Go to Computer Configuration Policies Windows Settings Security Settings Public Key Policies Trusted Root Certification Authorities. 6. Import the root CA certificate of the Secure Login Server. 7. Restart your client. After a restart the public key and group policies are updated. This pushes the certificates to the client. To do so, you can also use the command gpupdate /force Distributing Root CA Certificates Using Microsoft Group Policies with Microsoft Windows Server 2003/2003 R2 These steps describe how to distribute root CA certificates using Microsoft Group Policies. Context To distribute Secure Login Server root CA certificates using Microsoft Group Policies, take the following steps: Microsoft Windows Server 2003/2003 R2 Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 35

36 Procedure 1. Open the Control Panel in Microsoft Windows 2. Go to Administrative Tools. 3. Open Domain Security Policy. 4. Go to Security Settings Public Key Policies Trusted Root Certification Authorities. 5. Import the root CA certificate of the Secure Login Server. 6. Restart your client. After a restart the public key and group policies are updated. This pushes the certificates to the client. To do so, you can also use the command gpupdate /force. 2.4 Migrating Secure Login Client to SAP Single Sign-On 2.0 from 1.0 The following section describes how you migrate Secure Login Client to SAP Single Sign-On 2.0 from 1.0. Prerequisites The following prerequisites must be fulfilled when you want to start migrating Secure Login Client: If you keep the Secure Login Server of SAP NetWeaver Single Sign-On 1.0, you can update the clients without a policy change. If you have already migrated the Secure Login Server from 1.0 to 2.0, you must adapt the clients. For more information, see related link. There are multiple migration scenarios for the Secure Login Client. For more information, see related link. You can run either Secure Login Server 2.0 and 1.0 and keep the Secure Login Client 1.0 or update some or all clients to Secure Login Client 2.0. You may also run Secure Login Server 2.0 and 1.0 in parallel and keep the Secure Login Client 1.0 or update all or some of the clients to Secure Login Client 2.0. If you installed Secure Login Client 2.0, you can exchange the enrollment URL to Secure Login Server 2.0 in the registry of your clients one by one whenever you think that it makes sense for a specific client. Tip We recommend that you perform the exchange of the enrollment URL and the policy download to get the full range of settings from Secure Login Server 2.0. It does not matter whether you run all or only some clients with Secure Login Client 2.0 or SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

37 Client Tracing of Secure Login Client In SAP NetWeaver Single Sign-On 1.0, each client had a registry entry that determined the trace conditions of this client. This configuration is not valid anymore. In SAP Single Sign-On 2.0, you determine the trace parameters in a special configuration file that is located on the client. For more information, see the related link. Related Information Migrating Secure Login Server 2.0 from 1.0 [page 168] The following section describes how you migrate Secure Login Server 2.0 from 1.0. The migration depends on the client and on the login modules you use. Configuring a Secure Login Client 2.0 to Run with Secure Login Server 1.0 [page 42] This use case describes the settings if you run Secure Login Client of SAP Single Sign-On 2.0 with Secure Login Server 1.0. Tracing Secure Login Client [page 64] You can switch on tracing of your Secure Login Client with different trace levels. Analyzing the trace files helps you to find the cause of issues that might occur with the Secure Login Client. Migrating to SAP Single Sign-On 2.0 from 1.0 [page 23] This topic describes the scenarios for migrating to SAP Single Sign-On 2.0 from Downloading Policies to Secure Login Client Using Profile Groups During the migration, the Secure Login Client needs the client authentication policies of the Secure Login Server 2.0. Context It does not matter whether you use Secure Login Client 2.0 or 1.0, you need to get the policies of the client authentication profile from Secure Login Server 2.0. This is possible if you use profile groups. A profile group contains one or several client authentication profiles. Each client authentication profile defines a number of policies that determine the behavior of the client. If you download the policies to the Secure Login Client, the Secure Login Administration provides registry files (*.reg), two per profile group. Import these registry files into the clients you want to migrate to the policies of SAP Single Sign-On 2.0. The Secure Login Client uses the new policies after a restart. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 37

38 Proceed as follows: Procedure Create a profile group with the client authentication profiles of Secure Login Server 2.0. For more information, see related link. Related Information Creating a Profile Group of Client Authentication Profiles [page 40] You can use profile groups filled with the client authentication profiles of the Secure Login Server 2.0 when you migrate Securer Login Client. Enable Fully Qualified Distinguished Name in Enrollment URL [page 333] The following topics describes how to enable a fully qualified distinguished name in an enrollment URL Downloading Policies to Secure Login Client Using the Policy Download Agent Secure Login Client gets the client authentication policies from the Secure Login Server 2.0 in regular intervals using the policy download agent. Context Prerequisites: You have checked the Secure Login Server Support option during the Secure Login Client installation. This activates the policy download agent. If you have clients on Microsoft Windows, you have established an SSL trust relationship with your clients by having imported the relevant SSL host CA certificates. For more information, see the related link. Procedure 1. Create a profile group with the client authentication profiles of Secure Login Server 2.0. For more information, see related link. 2. Download the file ProfileDownloadPolicy_<profile_group>.reg to import the policy URL and the settings into the clients SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

39 3. Distribute the registry file with the distribution mechanisms you usually use. After the distribution, the registry file imports all the client authentication parameters into the registry of the respective clients. 4. Restart the client systems or restart the Secure Login service to get the configuration into the clients. Related Information Creating a Profile Group of Client Authentication Profiles [page 40] You can use profile groups filled with the client authentication profiles of the Secure Login Server 2.0 when you migrate Securer Login Client. Enable Fully Qualified Distinguished Name in Enrollment URL [page 333] The following topics describes how to enable a fully qualified distinguished name in an enrollment URL. Option 1: Installing Root CA Certificates on a Windows Client [page 33] To ensure secure communication and a trust relationship, you install root CA certificates on Windows clients Start during Windows login The Secure Login Client starts automatically when a user logs on to a Microsoft Windows operating system. Remember that this automatic startup increases memory and CPU consumption. If you unselect the installation option Start during Windows login, the Secure Login Client does not start automatically Using Certificates for CAPI Applications You only need this feature if you want to use certificates issued for CAPI applications by the Secure Login Server, such as for a client authentication with Internet Explorer. The CSP/CAPI service is registered during the installation Downloading Policies from the Secure Login Server To automatically download client policies from the Secure Login Server, install the Secure Login Server Support feature. It includes the Policy Download Agent. For more information, see related link. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 39

40 Related Information Secure Login Client Installation [page 26] This section explains the installation and the installation options of the Secure Login Client Creating a Profile Group of Client Authentication Profiles You can use profile groups filled with the client authentication profiles of the Secure Login Server 2.0 when you migrate Securer Login Client. Context Download the client authentication policies of the Secure Login Server 2.0 to the Secure Login Client in a profile group. One client can only belong to one profile group. To create a profile group and to download the profiles to clients, proceed as follows: Procedure 1. Open the Secure Login Administration Console of SAP NetWeaver Single Sign-On Example 2. Go the Client Authentication Profiles tab. 3. Select Profile Groups in the toolbar below the tabs. 4. Choose the Create button. 5. Enter a name and a description for the profile group. 6. Enter the parameters for the download mode of the profile groups and policies. Among other things, they contain the protocol, the port, the interval after which the policy is updated, the network timeout, and the setting when the policy is updated. Consider that when Secure Login server is configured to allow only secure communication, you can only choose the HTTPS protocol. For more information, see the corresponding documents in the related links. 7. If required, add more client authentication profiles. 8. Choose Download Policy. The subsequent popup displays the following registry files: SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

41 ProfileGroup_<profile_group_name>.reg This file includes the configuration of all client authentication profiles in the profile group. If there are any changes in the profiles, download the most recent registry file and re-install the Secure Login Client for the changes to take effect. You find an overview of the client authentication parameters in the related link. ProfileDownloadPolicy_<profile_group_name>.reg This file includes the policy URL that specifies the resource file that includes the latest configuration of all client authentication profiles in the profile group. If there are any changes in the profiles, the most recent configuration is automatically updated in the Secure Login Client after a defined time (policy update interval). 9. Distribute the registry files with the distribution mechanisms you usually use. After the distribution, the registry file imports all the client authentication parameters into the registry of the respective clients. 10. Start the Secure Login Server. In intervals defined in the profile group parameters, the Secure Login Client retrieves the policies of respective profile group from the Secure Login Server. Related Information Parameters for Client Configuration [page 277] This topic contains the parameters for client authentication profiles. Parameters for Downloading Policies Using Profile Groups [page 288] When you create a profile group from the client authentication profiles, you can specify some properties, such as protocol, host name, policy update interval, timeout, and actions after policy download. Configuring Secure Communication [page 221] Secure Login Server can be configured to accept only HTTPS connections. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 41

42 2.4.4 Configuring a Secure Login Client 2.0 to Run with Secure Login Server 1.0 This use case describes the settings if you run Secure Login Client of SAP Single Sign-On 2.0 with Secure Login Server 1.0. Context If you want to run clients with Secure Login Client 2.0 together with Secure Login Server 1.0, you must take care that the enrollment URL and the policy URL are correct in Secure Login Server 1.0. Take the following steps to check or configure the enrollment URL: Procedure 1. Start Secure Login Administration Console of SAP NetWeaver Single Sign-On 1.0. Syntax: (secured) 2. Go to the instance you want to use. 3. Choose Client Configuration. 4. Choose the Profiles tab. 5. Choose the Edit button. 6. Go to the Enroll URL field and change the URL if required. 7. Save your changes. 8. Go to the Client Policy tab. 9. User the field Policy URL to enter the policy URL for Secure Login Server 1.0. Example <Server host:port>/securelogin/admin/navigation? 10. Save your changes SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

43 2.5 Getting User-Specific Profiles for Certificate Enrollment On a specially configured Secure Login Client, users can quickly get a list of profiles to enroll with certificates by selecting a user-specific client authentication profile from a list in the Secure Login Client. The profiles are downloaded from the Secure Login Server the users specify in the server URL. Users who, for example, work in several projects simultaneously need to access several resources by using several user profiles. They can quickly get the relevant profiles for certificate enrollment by selecting a projectrelated profile group from a list in the Secure Login Client. All these profiles are stored in a profile group in the Secure Login Server, which the users identify by entering the host name and port number Configuring User-Specific Profile Download in Secure Login Client User-specific profile download to a Secure Login Client is no default feature. For this reason, you must configure it individually in the registry of the client. Context Table 6: Prerequisites Server Secure Login Server 2.0 SP03 or higher on an SAP Application Server Java Client Secure Login Client 2.0 SP03 or higher (running on a Windows platform) SAP GUI To enable users to select a profile from the Secure Login Server in their Secure Login Client, take the following steps: Procedure 1. Go to the client's registry in administration mode and open it. 2. Enter the parameter ShowUserPoliciesPage with the value 1 in the registry path [HKEY_LOCAL_MACHINE \SOFTWARE\Policies\SAP\SecureLogin\Common]. Restriction Since this is no default registry parameter, you must enter the parameter and the value manually. You cannot download the parameter from the Secure Login Server. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 43

44 After this client configuration, your client displays the Policy Groups tab where users can select a profile group provided by the Secure Login Server. The profile group contains the profiles users can select in the Secure Login Client Downloading User-Specific Profile Groups to the Secure Login Client In Secure Login Client, users can quickly get a list of profiles for certificate enrollment by selecting a user-specific profile from the list in the Secure Login Client. Context For details on the policy download settings for the client, see the related link. To download profile groups with the user-specific profiles to the Secure Login Client, take the following steps: Procedure 1. Choose File Options... in the Secure Login Client. 2. Go to the Policy Groups tab. 3. You identify the Secure Login Server that provides the profiles. a) Enter the server URL using host name and port number in the Host field. Example b) (If applicable) If your Secure Login Server uses the proxy settings stored in the Microsoft Internet Explorer, you only need to select Use IE Proxy Settings. c) If you want to any other proxy settings, select Use Manual Proxy Settings and enter them. 4. Choose Refresh to download the list with the predefined profile groups from this Secure Login Server. The Group field displays a dropdown list of all profile groups provided by the Secure Login Server. 5. Select a profile and choose Apply and/or OK. The profiles of this profile group appear in your Secure Login Client, and you can choose one of the profiles for certificate enrollment. 6. (If applicable) If you want to delete the list of profile groups in the Secure Login Client, choose Clear. Related Information Parameters for Downloading Policies Using Profile Groups [page 288] SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

45 When you create a profile group from the client authentication profiles, you can specify some properties, such as protocol, host name, policy update interval, timeout, and actions after policy download. 2.6 Configuration Options This topic deals with several configuration options of the Secure Login Client. Among other things, this section describes how to enable SNC in SAP GUI, how to define the user mapping in SAP user management, and how to support smart cards Enable SNC in SAP GUI Using SNC in SAP GUI Context To establish secure communication between SAP GUI and SAP NetWeaver Application Server; you need to enable the SNC option. Procedure Start the SAP GUI application, create or open a system entry; enable the SNC option, and define the SNC name of the SAP NetWeaver Application Server ABAP Kerberos SNC Name Procedure Choose the option Activate Secure Network Communication and define the SNC Name. Example SNC Name: Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 45

46 The SNC name is provided by your SAP NetWeaver Administrator. Note that the definition of the SNC name is case-sensitive X.509 Certificate SNC Name Procedure Choose the option Activate Secure Network Communication and define the SNC name SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

47 Example SNC Name: p:cn=abc, OU=SAP Security The SNC name is provided by your SAP NetWeaver administrator. Note that the definition of the SNC Name is case-sensitive User Mapping This section describes how to define the user mapping in SAP user management. For the user authentication using security tokens (X.509 certificate or Kerberos token), this mapping is required to define which security token belongs to which SAP user. Tip For smooth and straightforward integration, we recommend that you use the SAP Identity Management solution to manage user mapping. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 47

48 Manual Configuration Procedure 1. Start the user management tool by calling transaction SU01. Choose the SNC tab. 2. If you are using Kerberos authentication, enter the Kerberos user name in the SNC name field. 3. If you are using X.509 certificate based authentication, enter the X.509 certificate Distinguished Name in the SNC name field. Note Note that the definition of the SNC name is case-sensitive Kerberos Example In this example, the SNC name belongs to the user "SAPUSER" X.509 Certificate Example In this example the SNC name p:cn=sapuser, OU=SAP Security belongs to the user "SAPUSER" SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

49 Note For more information about how to perform user mapping, see the Secure Login Library Installation, Configuration and Administration Guide Set External Security Name for All Users You can use transaction SNC1 (report RSUSR300) to configure the SNC name in batch mode. Note Note that the definition of the SNC name is case-sensitive. With this tool you can choose all SAP Users by specifying *. You receive a list of SAP users or SAP user groups. You can use the option Users without SNC names only to overwrite SNC names. This batch tool takes an SAP user and uses the components <previous_character_string><sap_user_name><next_character_string> to build the SNC name Kerberos Example In this example, SNC names are generated with the following string for all users without an SNC name: Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 49

50 X.509 Certificate Example In this example SNC names are generated with the following string for all users without an SNC name: p:cn=<user_name>, OU= SAP Security Overview of Registry Configuration Options This section describes further configuration options in registry for the Secure Login Client. You can make the following settings: Common settings Application policy settings for Kerberos and Microsoft Cryptography API (CAPI) token CAPI settings Single Sign-On settings for Kerberos-based SNC profile Single Sign-On settings for SPNego profile For more information, see the related links SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

51 Related Information Common Settings [page 249] This table contains the common settings in the registry for the Secure Login Client. Application Policy Settings for Kerberos and Microsoft Cryptography API (CAPI) Token [page 251] You want to use the Secure Login Client with SNC application policies for native Kerberos and X.509 authentication. The application policies are not uploaded from the Secure Login Server for Kerberos or Microsoft Cryptography API authentication. In this case, you need to set a number of parameters in the Microsoft Windows registry of your clients. CAPI Settings [page 254] This table refers to the CAPI setting from third-party Cryptographic Service Providers. Single Sign-On Setting for Kerberos-Based SNC Profile [page 259] You do not want to use single sign-on, but force users, for example, to enter their user name and password every time they log on to an Application Server ABAP using SNC. Single Sign-On Setting for SPNego Profile [page 261] You do not want to use Single Sign-On, but force users, for example, to enter their user name and password at the Secure Login Client to enroll for a certificate that enables them to connect with an Application Server ABAP using SNC Automatically Using the Proxy Configuration of Microsoft Internet Explorer for Secure Login Client For reasons of simplicity, you want use the proxy settings of your Microsoft Windows domain. Secure Login Client can auto-detect the proxy settings in the Internet connection configuration of Microsoft Internet Explorer. Secure Login Server can use the following proxy server configuration options from Microsoft Internet Explorer: Automatic proxy server detection Using an automatic proxy configuration script URL Note These detection options correspond to the following proxy server settings in Microsoft Internet Explorer in Tools Internet Options Connections LAN settings : Automatically detect settings Use automatic configuration script If the first detection option is not successful and does not return a proxy server, Secure Login Server continues and looks for a proxy URL in the automatic configuration script. If it does not find a valid proxy URL there either, it falls back on directly accessing the Internet without using a proxy server. Restriction Using the proxy configuration of the operating system is only possible if you use Microsoft Internet Explorer in a Microsoft Windows environment with Secure Login Client and Secure Login Server, both 2.0 SP02 or higher. SAP Single Sign-On does not support a static proxy server setting for LANs. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 51

52 Related Information Configuring Automatic Proxy Server Detection [page 52] To configure automatic proxy server detection from Microsoft Internet Explorer for Secure Login Client enrollment URL, you must change your clients' configuration Configuring Automatic Proxy Server Detection To configure automatic proxy server detection from Microsoft Internet Explorer for Secure Login Client enrollment URL, you must change your clients' configuration. Context Procedure 1. Start the Secure Login Administration Console. 2. Choose the client authentication profile for which you want to configure proxy server auto-detection. 3. Choose the Secure Login Client Settings tab. 4. Choose the Edit button. 5. Choose the HTTP Proxy URL field and enter AUTO. For more information, see the related link. 6. Save your changes. The Secure Login Server generates the configuration for automatically using the proxy settings of Microsoft Internet Explorer for the Secure Login Clients. The configuration flag is distributed with the policy download mechanism. The client registry gets the following new parameter in the Registry path [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SAP\SecureLogin\profiles \<client_authentication_profile_name>]. "usewindowshttpproxy"=dword: Related Information Parameters for Client Configuration [page 277] This topic contains the parameters for client authentication profiles. Downloading Policies to Secure Login Client Using the Policy Download Agent [page 38] Secure Login Client gets the client authentication policies from the Secure Login Server 2.0 in regular intervals using the policy download agent SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

53 Configuring Proxy Auto-Config (PAC) Support for Policy Download To configure the use of a proxy server using a proxy auto-config (PAC) URL for Secure Login Client policy download, you must change your clients' configuration. Context You can configure the proxy URL settings for each profile group. Procedure 1. Start the Secure Login Administration Console. 2. Choose the Profile Groups section in the Client Management tab. 3. Select the relevant profile group. 4. Choose the Edit button. 5. Enter the URL of your proxy in the HttpProxyURL field. Example 6. To use this proxy URL as a proxy auto-config (PAC) URL, select Yes. 7. Save your changes. At policy down, the client registry gets the following new parameter in the registry path [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SAP\SecureLogin\System]. "ProxyIsPACURL"=dword: "HttpProxyURL"=" For more information on the registry parameters, see the related link. Related Information Client Policy [page 268] Information about client policy parameters for the Secure Login Client. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 53

54 2.6.5 Using Secure Login Client Profiles for Kerberos and Microsoft Cryptography API Tokens You want clients in a Microsoft Windows environment to be able to log on to servers using Secure Login Client profiles for Kerberos and Microsoft Cryptography API tokens. The profiles have not been uploaded from the Secure Login Server. The registry of a client contains the parameters and values of the client profile that is assigned to a specific Application Server ABAP. A customer wants to use Secure Login Client profiles that are not uploaded from the Secure Login Server (for more information, see the related link). For this reason, the Microsoft Windows registry must contain the respective registry parameters and values. The Secure Login Client uses all of the registry keys in HKEY_LOCAL_MACHINE\Software\Policies\SAP\SecureLogin\applications to determine the SNC application policy that is used to define the authentication method for a specific application. You therefore assign one Secure Login Client profile for a dedicated authentication method to a certain application, in this case an AS ABAP. It is possible to distribute these registry parameters to your clients, for example, with Microsoft Group Policies or other suitable means. These Secure Login Client profiles in the registry enable the respective clients to log on using Kerberos or Microsoft Cryptography API certificates to certain Application Servers ABAP. Parameters specify the SNC names of the Application Servers ABAP, the type of login you want to establish, and the authentication profile. Example The following examples show excerpts in Microsoft Windows registry format. Settings for Kerberos login The clients use Kerberos to log on to servers whose SNC name contains the elements CN=ABC, OU=TEST, O=SAP, C=DE. Users can manually select the authentication profile in the Secure Login Client. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SAP\SecureLogin\applications\ABC Kerberos] "GssTargetName"="CN=ABC, OU=TEST, O=SAP, C=DE" "TokenType"="kerberos" "allowfavorite"=dword: Settings for X.509 login The clients use X.509 certificates to log on to servers whose SNC name contains the elements O=SAP-AG, C=DE. Only certificates in which the Distinguished Name contains CN=SSO_CA, O=SAP-AG, C=DE are used. Users cannot manually select the authentication profile in the Secure Login Client. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SAP\SecureLogin\applications\SAP AG X.509] "GssTargetName"="CN=CERT, O=SAP-AG, C=DE" "TokenType"="tokcapi" "CAPIFilterIssuerDN"="CN=SSO_CA, O=SAP-AG, C=DE" "allowfavorite"=dword: Related Information Application Policy Settings for Kerberos and Microsoft Cryptography API (CAPI) Token [page 251] SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

55 You want to use the Secure Login Client with SNC application policies for native Kerberos and X.509 authentication. The application policies are not uploaded from the Secure Login Server for Kerberos or Microsoft Cryptography API authentication. In this case, you need to set a number of parameters in the Microsoft Windows registry of your clients Browser-Based Enrollment of Secure Login Client Using a Secure Login Server Profile You want to start SAP GUI using a browser shortcut, but you do not have a suitable certificate. For this reason, you need a browser-supported enrollment of the Secure Login Client. Restriction This function is only available for Microsoft Windows clients running Microsoft Internet Explorer. Only web sites from trusted hosts can use the front-end control. A user who uses the Secure Login Client wants to get an SNC connection to an Application Server ABAP with a specific SNC name, but no suitable certificate is available. The user wants to use the user certificate configuration of a dedicated Secure Login Server profile. Using a front-end control in the browser, the Secure Login Client initiates an enrollment with a Secure Login Server profile. The enrolled certificate is meant to be used for connections to an AS ABAP with a given SNC name. The front-end control determines that this Secure Login Server profile is used for connections with a specific AS ABAP, which is identified by the SNC name. When you log off from the current Secure Login Client session, or when the certificate lifetime has expired, you remove the certificate that is tied to the specified Secure Login Server profile. This temporary setting overrides the current application policies in the client's registry. Prerequisites You need to fulfill the following requirements on the side of your clients: You have installed the Secure Login Client 2.0 with the Secure Login Server Support option. The front-end control slsax.dll comes with the Secure Login Client. After the installation, the front-end control is located in the installation folder of the Secure Login Client. For more information, see the related link. Your client uses Microsoft Internet Explorer. You have installed SAP GUI. You are using Secure Login Server profiles. Observe the following server-side prerequisites: You are running SAP NetWeaver Application Server ABAP and Java. You have installed Secure Login Server 2.0 on an AS Java. You are using SAP Cryptographic Library, or you have installed Secure Login Library 2.0 on an AS ABAP. You have configured Secure Login Server profiles. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 55

56 Related Information Secure Login Client Installation [page 26] This section explains the installation and the installation options of the Secure Login Client API Methods for Profile Enrollment The front-end control slsax.dll implements a number of methods for enrolling Secure Login Server profiles at the Secure Login Client. ProfileIsEnrolled This method displays whether a profile exists and is enrolled. Syntax bool ProfileIsEnrolled(BSTR szprofile) Return Values true false Description The relevant profile exists and is enrolled. All other situations ProfileEnroll This method executes an enrollment for an authentication with user name and password or for an authentication where credentials are provided by Microsoft Windows. The method sends an exception if szprofile is too long or contains invalid characters. Syntax bool ProfileEnroll (BSTR szprofile) ProfileEnrollSNC This method binds the SNC name to the relevant profile. This binding overrides the registry settings provided by the application policies. The method sends an exception if the profile is too long or contains invalid characters. For more information, see the related link SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

57 Syntax bool ProfileEnrollSNC(BSTR szprofile, BSTR SNCname) Return Values true false Description The relevant profile exists and is enrolled. All other situations ProfileLogout This method triggers a logout of the relevant Secure Login Server profile without any return values. As a consequence, any call of ProfileIsEnrolled returns false. Syntax void ProfileLogout(BSTR szprofile) ClearSSLCache This method sends an exception if the relevant profile is too long or contains invalid characters. Syntax void ClearSSSLCache() Related Information HTML Code Example with Secure Login Server Profile and SNC Name [page 57] If you want to use this function, integrate the front-end control, for example, into your portal page HTML Code Example with Secure Login Server Profile and SNC Name If you want to use this function, integrate the front-end control, for example, into your portal page. The front-end control slsax.dll enables you to force the Secure Login Client to initiate an enrollment with a dedicated Secure Login Server profile at an AS ABAP having a specific SNC name. For this reason, you define at least the following things in your front-end control: Secure Login Server profile you want to use Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 57

58 SNC name of the AS ABAP for which the certificate is meant to be used Example The following simple HTML code example tells you how to tie a dedicated Secure Login Server profile to an SNC name of the AS ABAP you want to connect to. The user interface displays a pushbutton where you can trigger the enrollment with the Secure Login Server profile called MyProfile that is tied to the SNC name CN=my_SNC_server of the AS ABAP. <html> <head><title>slcax Test Page</title></head> <script language="javascript"> doenroll = function() { var retval = slsax.profileenrollsnc("myprofile", "CN=my_snc_server"); } </script> <body> <form name="form"> <input type="button" name="cmdenroll" value="enroll" onclick="doenroll()"/> </form> <object id="slsax" classid="clsid:e3d b e778e0103e3" width="0" height="0" /> </body> </html> The result is a web site with an Enroll pushbutton. When you choose Enroll, the Secure Login Client enrolls the Secure Login Server profile, prompts you for your credentials, and issues a certificate. After having entered the user credentials, the user gets the certificate of the Secure Login Server profile name (MyProfile), and can log on to the AS ABAP with the SNC name CN=my_snc_server Smart Card Integration The Secure Login Client can use X.509 certificates stored in smart cards and supports 32-bit and 64-bit cryptographic service providers. For smart card support, you need to install the relevant smart card middleware. Secure Login Client supports smart cards through the Microsoft Crypto API (CSP) or middleware that is based on mini drivers. The mini drivers automatically publish the certificates, for example, in the Microsoft Certificate Store. These interfaces are typically also supported by the smart card middleware software. Checklist for smart card support: If required, install smart card reader hardware and PC/SC driver. Typically the smart card reader is usually automatically recognized by the operating system. Install smart card middleware software. This middleware software should support the desired smart card. Some smart card vendors provide their own middleware software, and there are some middleware software vendors available who support different kinds of smart cards. PIN management is handled by the middleware software. A typical situation is a user logging on to a Microsoft operating system using the smart card. This user needs to re-enter the PIN in the browser or in SAP GUI SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

59 Whether the user is able to do this depends on the smart card middleware, which might close the smart card after the logon to Microsoft Windows. For more information, contact your smart card middleware vendor Digital Client Signature (SSF) The Secure Login Client can use X.509 certificates for digital signatures in an SAP environment. The supported interface is Secure Store and Forward (SSF). This option is part of the default installation. The prerequisite for using SSF is that SSF is configured in the SAP instance profile How to Test SSF Client Signature You can test the SSF client signature in a SAP GUI using, for example, Secure Login Server, smart-card, or softtoken profiles as SSF profiles. For more information, see related link. Procedure 1. Log on to the SAP system using SAP GUI and start transaction SE Enter the program name SSF01 and execute this program. 3. Choose a desired function you want test, for example, Signing. 4. For the parameter RFC destination, enter the value SAP_SSFATGUI. 5. For the parameter SSF format, enter the value PKCS7. You have the following configuration options: If you use smart card, enter the Distinguished Name of the smart card certificate in the ID field. Example CN=Smartcard User, OU=SAP Security In the SSF Profile field, enter the token ID. Example tokcapi:<token_id> Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 59

60 If you use Secure Login Client profile provided by Secure Login Server, enter the Distinguished Name of the user certificate in the ID field. Example CN=Username, OU=SAP Security In the SSF Profile field, enter the Secure Login Client profile configuration. Syntax: toksw:mem://securelogin/<profile_name> <profile_name> is the profile name defined in Secure Login Server. In this example the profile name is SSF. 6. In parameter Input data, enter the file to be signed. Example c:\temp\tobesigned.txt 7. In the parameter Output data, enter the path and file name for the signed file. Example c:\temp\issigned.txt 8. Execute the program and choose the Sign button. The system prompts you for a password, which is not required. Choose the green OK button. The file should be signed. You get the following output: SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

61 Related Information SSF Parameters for Digital Signatures [page 263] SSF user configuration parameters for digital signatures SSF User Configuration in SAP GUI This topic tells you how you configure a user for the SSF in SAP GUI. Context Use this configuration step to define which Secure Login Client profile is used for the SSF interface. This is defined for each SAP user. Procedure 1. Log on to the SAP system using SAP GUI and start transaction SU Edit the desired user and, on the Address tab, choose the Other Communication button. 3. Choose the SSF option and define the desired parameters. For details about the parameters, see the related link. Related Information SSF Parameters for Digital Signatures [page 263] SSF user configuration parameters for digital signatures System Signature Using Microsoft Active Directory Authentication The AS ABAP provides you with a tool for signing and approving data with a digital signature. By default, you use your SAP user ID and password to do so. Using a BAdI and an front-end control in the Secure Login Client, Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 61

62 however, enables you to provide a system signature for documents using your SAP user and your Microsoft Windows password. Prerequisites You have applied SAP Note You are running SAP GUI for Windows on the client. SAP NetWeaver Single Sign-On 2.0 SP2 or higher is installed. During the installation of Secure Login Client, you activated the Kerberos Single Sign-On installation component. An front-end control called slcax.dll is available on the Secure Login Client (in this case, SAP GUI for Windows). You are using the SAP Cryptographic Library (see SAP Note ), or you have set the path to the cryptographic library you use as SSF provider. If required, use transaction RZ10 to change the following profile parameters: ssf/ssfapi_lib=<path_to_cryptographic_library> ssf/name=sapseculib You have configured SNC for Kerberos. The AS ABAP user has a Kerberos SNC name. For more information, see the related link. Scenario In a Microsoft Windows environment (Microsoft Active Directory), a user is using an AS ABAP and logged on using single sign-on. In the application, the user calls the signature tool. When the user creates a system signature, he or she must re-authenticate with his or her SAP user ID and Microsoft Windows password. Now he or she is able to provide a system signature for documents to prove that he or she reviewed the document was reviewed by him or herself during the workflow process. For more information on digital signing, see the relevant related link and SAP Note , which describes how you create digital signatures with the user and password of an ABAP user account. However, since the user has logged on with SAP NetWeaver Single Sign-On, the user might not have a password on the AS ABAP. Using the BAdI from SAP Note , you can provide system signatures for documents with the SAP user and the Microsoft Windows password. This BAdI in the AS ABAP determines the SNC name and sends the SNC name with the password to the SAP GUI for Windows client. The slcax.dll front-end control in the Microsoft Windows environment on the client side verifies the user name and password. Once it has done so, it issues an SPNego token that is retrieved from the BAdI in the AS ABAP. The BAdI then verifies the SPNego token. If the verification is successful, the digital signature is created for the document SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

63 Client tracing logs certain activities and any errors that might occur during the signing process. For more information, see the relevant related link. Restriction End users of SAP GUI for Windows should not have administration rights for their clients. This makes sure that the configuration of the Secure Login Client remains unchanged. Related Information SNC Kerberos Configuration [page 113] Configuring SNC for Kerberos includes the creation of an X.509 PSE and of setting the relevant profile parameters. Tracing Secure Login Client [page 64] Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 63

64 You can switch on tracing of your Secure Login Client with different trace levels. Analyzing the trace files helps you to find the cause of issues that might occur with the Secure Login Client Tracing Secure Login Client You can switch on tracing of your Secure Login Client with different trace levels. Analyzing the trace files helps you to find the cause of issues that might occur with the Secure Login Client. Context By default, tracing of the Secure Login Client is disabled. The user does not need administrator rights. Recommendation Only use the Secure Login Client trace if an error has occurred and you are investigating the cause of the error. Deactivate the trace after the error was remedied. The client trace function writes the trace into rotation files located in the trace folder. The maximum size of all trace files for each process is 110 MB (ten backup files and one trace file). Since each Secure Login Client and each SAP GUI gets a new process ID, for example, when it starts up again, you may end up with a large number of trace files. Make sure that you provide enough disk space for the client trace function. You can perform the following actions for client tracing: Configure the trace level Determine the trace folder Delete all traces Open the trace folder, for example, to view the trace files To switch on and configure client tracing, proceed as follows: Procedure 1. Start Secure Login Client. 2. Choose the Tracing tab in File Options. 3. Execute the relevant Secure Login Client trace function SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

65 Table 7: Secure Login Client Trace Functions Screen Element Trace Level Description Set the trace level. The following trace levels are available: Deactivated (no tracing) Errors only Errors and Warnings Errors, Warnings, and Information Developer Traces (in the case of issues that must be solved by support staff) Location Delete All Traces Open Trace Folder Path of the trace files This function enables you to delete all trace files at once. You cannot delete traces that are currently in use. If you choose this, Microsoft Windows Explorer opens, showing the folder where your client traces are located. 4. Choose OK or Apply Enabling the Display of LDAP Messages in Secure Login Client In a Microsoft Windows environment, you can display messages from LDAP in Secure Login Client. If LDAP generates messages, the Secure Login Server interprets them and sends its own messages to the Secure Login Client. Context If LDAP generates a message that has an effect on the authentication, the Secure Login Server receives the LDAP error code. The Secure Login Server produces a message with a text that comes from Secure Login Server. It sends this text to the client(s). Users who get such a message take action or can contact their administrators and ask them for LDAP support. The messages from LDAP refer to the following situations: After a period of time defined in the LDAP password policy, a user's password has expired. The user must perform a password change after a period of time defined in the LDAP password policy. The user account is locked, for example, because someone entered a wrong password too often. The LDAP locks this user account after a defined number of unsuccessful password entries. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 65

66 After an employee left the company, LDAP locks this employee's user account to prevent unauthorized login. A user logs on with correct user name and password at a workstation this user is not authorized for. Example A user tries to authenticate at a Secure Login Client and gets a message saying that this user's password has expired. The origin of this message is LDAP, where the users are managed. Obviously the password policy in LDAP enforces a password change after a certain period of time. This period of time has expired. LDAP sends the respective message code to SAP Single Sign-On. The Secure Login Server interprets the message code and sends the message Password expired. Now the user knows that he or she is supposed to change the password. Note SAP Single Sign-On supports the following LDAP servers: Active Directory (default) Oracle Directory Server Take the following steps to set the parameter for the display of LDAP messages in the Secure Login Client. Procedure 1. Start SAP NetWeaver Administrator. 2. Choose the Configuration tab. 3. Choose Authentication and Single Sign-On. 4. Choose Components. 5. Select the relevant policy configuration of your LDAP server. 6. Choose the Edit button. 7. Go to the Login Module Options section of your LDAP policy configuraton. 8. Select LdapServerType in the Name field. 9. Enter the value for your LDAP server. Example AD for Active Directory (default). ODSEE for Oracle Directory Server. For more information, see the related link. 10. Save your changes SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

67 Related Information Parameters for LDAP Login Modules [page 283] This table contains an overview of the parameters you can set for LDAP login modules SAP NetWeaver Business Client with Secure Login Client Integration of Secure Login Client in SAP NetWeaver Business Client Prerequisites You have installed SAP NetWeaver Business Client 4.0 Patch Level 5 as User Interface Add-On for SAP NetWeaver. You are using SAP Single Sign-On 2.0. You are using on-demand short-term certificates from Secure Login Server. You can integrate Secure Login Client in SAP NetWeaver Business Client. This means that you can log on to SAP NetWeaver Business Client using the secure login features of SAP Single Sign-On For more information about the configuration of SAP NetWeaver Business Client, see the relevant SAP NetWeaver release in the SAP Help Portal under Application Help SAP NetWeaver Library: Function-Oriented View Application Server Application Server ABAP UI Technologies in ABAP SAP NetWeaver Business Client Installation and Client Configuration. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 67

68 Integrating Secure Login Client into SAP NetWeaver Business Client Use the configuration file to configure that SAP NetWeaver Business uses Client Secure Login Client for authentication. Context As an administrator you can configure a Secure Login integration by adding attributes to the admin options file. To add attributes to the admin options file, proceed as follows: Procedure 1. Access the NwbcOptions.xml file under %PROGRAMDATA%\SAP\NWBC\. 2. Modify your runtime connections with the attribute <UseSecureLoginClient>. Example <RuntimeConnection> <Name>Test</Name> <Url></Url> <Type>R3</Type> <Client>111</Client> <Comment</Comment> <User> </User> <UseSecureLoginClient>True</UseSecureLoginClient> </RuntimeConnection> If Secure Login Client is installed on your workstation, this setting is immediately valid. 3. Note This step is optional. It allows the user to activate or deactivate the usage of the feature for each connection using the user interface. To activate the appearance of the Secure Login Client attribute in the users systems dialog, add the following option to your admin options file: Example <SingleOptions> <ShowSecureLoginClientAttribute>True</ShowSecureLoginClientAttribute> </SingleOptions> The user sees the attribute Use Secure Login Client on the user interface. When the user tries to connect against a system where the Use Secure Login Client attribute is set, SAP NetWeaver Business Client triggers SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

69 Secure Login Client to create an X.509 Certificate. It may occur that Secure Login Client opens a popup where users can enter credentials to identify themselves (secure token, RSA). After finishing the Secure Login Client process, SAP NetWeaver Business Client continues the logon process and takes over this certificate. 2.7 Secure Login Client for Citrix XenApp This section describes how to use the Secure Login Client in a Citrix XenApp environment. The Secure Login Client supports only 64-bit Microsoft Windows operating systems. See the related link to the Product Availability Matrix for an overview of the supported platforms. Use Case The customer wants to run Secure Login Client in a Citrix XenApp environment. Related Information Secure Login Client with a Published Desktop Secure Login client runs with a published desktop, which similarly to a standard Microsoft Windows desktop. A published desktop behaves similarly to a standard Microsoft Windows desktop. You can install the Secure Login Client in the same way as on a local Microsoft Windows operating system. To minimize memory and CPU consumption, we recommend that you unselect the feature Start during Windows login Secure Login Client with a Published SAP Logon The Secure Login Client does not start automatically when a user logs on to a published SAP Logon in a Citrix XenApp environment. When installing, you may unselect the features Start during Windows login. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 69

70 How to Enable Automatic Startup with a Published SAP Logon This topic describes how you automatically start up Secure Login Client with a published SAP logon. Context To automatically start the Secure Login Client, create a user login script called usrlogon_slc.cmd in the Microsoft Windows directory and insert it into the Microsoft Windows Registry. Procedure 1. Install the Secure Login Client. 2. Create the file usrlogon_slc.cmd in the Microsoft Windows directory. 3. Insert the following content into the file OFF rem starting Secure Login Client, remove the next line if you do not want the SLC to start automatically start "Launch SLC" "%ProgramFiles(x86)%\SAP\FrontEnd\SecureLogin\bin\sbus.exe" rem register CSP, remove the next two lines if no CSP/CAPI support is required regsvr32.exe /s "%ProgramFiles(x86)%\SAP\FrontEnd\SecureLogin\lib\sbussto.dll" regsvr32.exe /s "%ProgramFiles%\SAP\FrontEnd\SecureLogin\lib\sbussto.dll" 4. Add the script to the Microsoft Windows Registry to make sure that the Secure Login Client starts automatically at startup. Open the Microsoft Windows Registry and go to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon 5. Open the key AppSetup and append the reference to the file usrlogon_slc.cmd to the value with a simple comma as a separator (without any space). Example Registry value name: AppSetup Registry value: ctxhide.exe usrlogon.cmd,cmstart.exe,usrlogon_slc.cmd You must keep the sequence as shown in the example above because, when starting up, the system proceeds from one file to the next SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

71 2.7.3 Other Features of Secure Login Client Secure Login Client supports a number of additional features, such as automatic startup when a user logs on to Microsoft Windows, certificate issued for CAPI applications, and automatic download of client policies. 2.8 Secure Login Client for OS X You can run Secure Login Client on Mac client computers with the OS X operating system. These Mac clients can use Secure Login Client to authenticate against an SAP GUI using SNC. SAP Single Sign-On 2.0 SP03 has a software component which allows you to use SAP GUI with SNC on a Mac client with OS X 10.7 or higher. The clients can use either Kerberos-based authentication or, after you made the respective configuration, X.509 certificates for single sign-on with SNC. Restriction A Mac client cannot use both authentication methods, Kerberos and X.509 certificates, at the same time. If you want to authenticate to several SAP GUIs and some have SAP GUI connections with X.509 certificates and others support the Kerberos authentication method, you must switch your certificates in your Mac client depending on the authentication method used by the respective SAP GUI connection. Secure Login Client for OS X does not support Server Login Server profiles. The Mac clients must belong to a Microsoft Active Directory domain. By default, the Secure Login Client for OS X uses Kerberos for authenticating against an SAP GUI connection. Table 8: Prerequisites Application Server ABAP (server) You have installed Secure Login Library or the SAP Cryptographic Library. OS X client OS X 10.7 or higher SAP GUI for Java (If applicable) For Kerberos as authentication mode for SNC The Mac client is running OS X 10.7 or higher. The user and the computer must belong to a Microsoft Active Directory domain. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 71

72 2.8.1 Installing Secure Login Client on a Mac Client The installation of Secure Login Client on an OS X client uses the default OS X installation procedure. Procedure 1. Download the PKG file of the Secure Login Client from the SAP Service Marketplace. 2. Start the default installation wizard on your Mac client. For more information, see the relevant documentation of Apple Inc. You have completed the installation of the Secure Login Client. By default, Secure Login Client can use Kerberos to authenticate against an SAP GUI using an SNC connection. You do not need to reboot your Mac client to run single sign-on with SAP GUI Uninstalling Secure Login Client from a Mac Client We recommend that you uninstall Secure Login Client from your Mac client by using a dedicated uninstall script. Context The uninstall script uninstall.sh uninstalls Secure Login Client completely. Procedure 1. Open the Terminal application in Applications Utilities. 2. Go to the Secure Login Client folder where the uninstall script is located. Use the following command: cd /Application/SecureLoginClient.app 3. Run the uninstall script. sudo./uninstall.sh You have completely uninstalled Secure Login Client without having left any remains on your Mac client SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

73 Cleaning Up after Removal of Secure Login Client on OS X You have removed Secure Login Client from a Mac client without having used the recommended method (see the related link). As a consequence, you must manually clean up all remains of Secure Login Client. Context You have removed Secure Login Client, for example, by moving the application into the trash. The following items remain and must be removed: The file launchd.conf in the /etc folder still has some rows referring to the already uninstalled cryptographic library of Secure Login Library. setenv SNC_LIB /Applications/SecureLoginClient.app/Contents/MacOS/lib/ libsapcrypto.dylib setenv SNC_LIB_64 /Applications/SecureLoginClient.app/Contents/MacOS/lib/ libsapcrypto.dylib setenv SSF_LIBRARY_PATH /Applications/SecureLoginClient.app/Contents/MacOS/lib/ libsapcrypto.dylib setenv SSF_LIBRARY_PATH_64 /Applications/SecureLoginClient.app/Contents/ MacOS/lib/libsapcrypto.dylib The SAP Secure Login Client preference pane Procedure 1. Open the file launchd.conf and remove the respective rows. 2. Open the system preferences and remove the SAP Secure Login Client preference pane. Related Information Uninstalling Secure Login Client from a Mac Client [page 72] We recommend that you uninstall Secure Login Client from your Mac client by using a dedicated uninstall script. Secure Login Client 2014 SAP SE or an SAP affiliate company. All rights reserved. 73

74 2.8.3 Configuring Secure Login Client on a Mac Client By default, Secure Login Client uses Kerberos to authentication at an SAP GUI with an SNC connection. Nevertheless you can also configure your Mac client to use X.509 certificates. Context Kerberos is the default authentication mode of your Mac client for logging on to an SAP GUI. You need not do anything because Kerberos is already available after the installation. Since your Mac client belongs to Microsoft Active Directory, Kerberos-based authentication mode is supported (see the related link). If you want to use X.509 certificates as authentication mode for the SAP GUI with SNC, you must configure it in the OS X System Preference Pane. Procedure 1. Open the Secure Login Client in your Applications folder or in the System Preferences window. 2. In the parameter Select your SSO method of the Single Sign-On section, switch to Use your selected certificate. 3. Go to the parameter Select your certificate and choose the certificate you want to use for certificate-based authentication to SAP GUI with an SNC connection. Note Another option is configuring authentication with X.509 certificates in the Keychain view of OS X. You find the preferred certificate as a Secure Login identity preference. Caution Do not switch certificates in the Secure Login preference pane while changing the settings in the Secure Login Identity Preference of the OS X Keychain. You risk getting an inconsistent configuration. Related Information Secure Login Client for OS X [page 71] You can run Secure Login Client on Mac client computers with the OS X operating system. These Mac clients can use Secure Login Client to authenticate against an SAP GUI using SNC SAP SE or an SAP affiliate company. All rights reserved. Secure Login Client

75 3 NWSSO for CommonCryptoLib 2.0 A new installation of SAP Single Sign-On 2.0 SP03 or higher uses the SAP Cryptographic Library, which is the default cryptographic library of the SAP NetWeaver Application Server. The optional component NWSSO for CommonCryptoLib 2.0 enables you to use the following functions in conjunction with the SAP Cryptographic Library (see the related link): Revocation check with certificate revocation lists (CRLs) Hardware security module (HSM) support together with a Secure Login Server, or for digital signing with SSF using the PKCS#11 interface of this device. The configuration files for CRL checking, for the configuration of the SNC communication protocol parameters, and for traces of the SAP Cryptographic Library are available in the SAP Note Related Information SAP Cryptographic Library for Secure Login [page 82] The SAP Cryptographic Library (CommonCryptoLib) is the default cryptographic library for a newly-installed SAP Single Sign-On 2.0 SP03 or higher. 3.1 Installing NWSSO for CommonCryptoLib 2.0 NWSSO for CommonCryptoLib 2.0 is an optional component of SAP Single Sign-On. NWSSO for CommonCryptoLib 2.0 enables you to use a number of functions with the SAP Cryptographic Library (CommonCryptoLib). For more information, see SAP Note and the related link). You can install NWSSO for CommonCryptoLib 2.0 on an SAP NetWeaver Application Server ABAP or AS Java. Related Information SAP Cryptographic Library for Secure Login [page 82] The SAP Cryptographic Library (CommonCryptoLib) is the default cryptographic library for a newly-installed SAP Single Sign-On 2.0 SP03 or higher. NWSSO for CommonCryptoLib SAP SE or an SAP affiliate company. All rights reserved. 75

76 3.1.1 Installing NWSSO for CommonCryptoLib 2.0 with an Application Server ABAP With SAP Single Sign-On running with an AS ABAP, this component enables you to use CRL checking and PKCS#11-based hardware security module support. Context To install NWSSO for CommonCryptoLib 2.0 with an Application Server ABAP: Procedure 1. To download the SAR file of NWSSO for CommonCryptoLib 2.0 for the desired platform, go to the SAP Service Marketplace. 2. Choose Software download Support Packages and Patches Browse our Download Catalog SAP NetWeaver and complementary products SAP NetWeaver Single Sign-On SAP NetWeaver Single Sign-On 2.0 Comprised Software Component Versions. 3. Extract the NWSSOCCL<support_package_number>_<patch_level>-<ID>.SAR file to the source directory DIR_CT_RUN. Note To determine the relevant directory, use the SAP Directories transaction (AL11). 4. If you want to use CRL checking, you need additional configuration files. They are available in SAP Note a) Download the XML files base.xml, pkix.xml, and ldap.xml to DIR_CT_RUN. b) Edit the XML files as described in Configuring the CRL Tool [page 145]. 5. If, in exceptional cases, you want to configure SNC communication protocol parameters, perform these steps: a) Copy the XML file gss.xml to the source directory DIR_CT_RUN. b) Edit the file gss.xml as described in SNC Communication Protocol Parameters [page 131]. 6. Edit the nwssoccl.lst file that is located in the source directory DIR_CT_RUN to add only the file names of the XML files (base.xml, pkix.xml, and/or ldap.xml) that you modified a previous step. The template of nwssoccl.lst already contains the entries that allow you to use additional functions (see SAP Note ). For more information, see the related link. 7. Deploy the files listed in nwssoccl.lst from the source directory DIR_CT_RUN to other instances using the Execute_<xx> profile parameters. Use transaction RZ10 in the current instance profile to do this. The SAP SE or an SAP affiliate company. All rights reserved. NWSSO for CommonCryptoLib 2.0

77 Execute_<xx> profile parameter enables you to launch a command at operating system level. For more information, see the SAP Help Portal in Configuration in the CCMS Profiles Saving and Importing Profiles After Installation General Information About Profiles Starting SAP Services by Making an Entry in the Instance Profile. Choose the next free number of the Execute _<xx> command, for example 05, and enter a new line. Example Parameter Execute_05 Value immediate $(DIR_CT_RUN)$(DIR_SEP)sapcpe$(FT_EXE) pf=$(_pf) list:$(dir_ct_run)/nwssoccl.lst 8. Save your changes. 9. Restart the Application Server ABAP. Related Information Examples for Editing nwssoccl.lst [page 79] The nwssoccl.lst template file, which is located in the source directory DIR_CT_RUN, enables PKCS#11- based hardware security module support. You can edit the template file and add the file names of the XML configuration files that you want to use for CRL checking Installing NWSSO for CommonCryptoLib 2.0 with an Application Server Java With SAP Single Sign-On running with an AS Java, this component enables you to use a hardware security module with a PKCS#11 interface. Context Before installation, you need to fulfill the following prerequisites: You have installed Secure Login Server. A hardware security module for digitally signing certificate requests is available, and you have installed the relevant client software with PKCS#11 support. For more information, see SAP Note and the related link. Take the following steps to install NWSSO for CommonCryptoLib 2.0 with an Application Server Java. NWSSO for CommonCryptoLib SAP SE or an SAP affiliate company. All rights reserved. 77

78 Procedure 1. To download the SAR file of NWSSO for CommonCryptoLib 2.0 for the desired platform, go to the SAP Service Marketplace. 2. Choose Software download Support Packages and Patches Browse our Download Catalog SAP NetWeaver and complementary products SAP NetWeaver Single Sign-On SAP NetWeaver Single Sign-On 2.0 Comprised Software Component Versions. 3. Extract the NWSSOCCL<support_package_number>_<patch_level>-<ID>.SAR file to the source directory DIR_CT_RUN. 4. Edit the instance profile file <SID>_J<instance_number>_<host_name>), which is usually located in /usr/sap/<sid>/sys/profile/. 5. Deploy the files listed in nwssoccl.lst from the source directory DIR_CT_RUN to other instances using the Execute_<xx> command in the profile file. Check the Execute_<xx> parameters. Choose the next free number of the Execute _<xx> command, for example 05, and enter a new line. Example Execute_05 = immediate $(DIR_CT_RUN)$(DIR_SEP)sapcpe$(FT_EXE) pf=$(_pf) list:$ (DIR_CT_RUN)/nwssoccl.lst 6. Save your changes. 7. Restart the Application Server Java. Related Information Using External User Certification Authorities [page 219] You can optionally use, for example, hardware security module (HSM) boards or other PKCS#11-enabled devices as external user Certification Authorities (CAs) SAP SE or an SAP affiliate company. All rights reserved. NWSSO for CommonCryptoLib 2.0

79 3.1.3 Examples for Editing nwssoccl.lst The nwssoccl.lst template file, which is located in the source directory DIR_CT_RUN, enables PKCS#11-based hardware security module support. You can edit the template file and add the file names of the XML configuration files that you want to use for CRL checking. Overview The template of nwssoccl.lst enables the functions for CRL checking and for PKCS#11 support for hardware security modules. The template like looks this: For UNIX platforms --- nwssoccl.lst --- crl libsapnwsso.so For Microsoft Windows --- nwssoccl.lst --- crl.exe crl.pdb sapnwsso.dll sapnwsso.pdb After you add the relevant XML file names, deploy the files listed in nwssoccl.lst to other instances. The nwssoccl.lst file can contain the following file names: File Names (UNIX/Microsoft Windows Attribute Description crl/crl.exe with crl.pdb Default File name enabling CRL checking libsapnwsso.so/sapnwsso.dll with sapnwsso.pdb Default Library file name enabling PKCS#11-based hardware security module support Note libsapnwsso.sl is the file name in HP-UX. base.xml For CRL function only Configuration file name for CRL checking pkix.xml For CRL function only Configuration file name for CRL checking ldap.xml For CRL function only Configuration file name for CRL checking NWSSO for CommonCryptoLib SAP SE or an SAP affiliate company. All rights reserved. 79

80 File Names (UNIX/Microsoft Windows Attribute Description gss.xml For CRL function only Configuration file name for the SNC communication protocol parameters Example for CRL Checking If you want to use CRL checking with the XML configuration files, enter the file names for base.xml, pkix.xml, and ldap.xml. (PKCS#11-based hardware security modules are also supported.) Example For Unix/Linux platforms --- nwssoccl.lst --- crl libsapnwsso.so base.xml pkix.xml ldap.xml For Microsoft Windows --- nwssoccl.lst --- crl.exe crl.pdb sapnwsso.dll sapnwsso.pdb base.xml pkix.xml ldap.xml Example for PKCS#11-Based Hardware Security Module Support If you want to use PKCS#11-based hardware security module support, you can enter the file name for the library file. This is not mandatory. Example For Unix/Linux platforms --- nwssoccl.lst --- crl libsapnwsso.so For Microsoft Windows --- nwssoccl.lst --- crl.exe SAP SE or an SAP affiliate company. All rights reserved. NWSSO for CommonCryptoLib 2.0

81 crl.pdb sapnwsso.dll sapnwsso.pdb NWSSO for CommonCryptoLib SAP SE or an SAP affiliate company. All rights reserved. 81

82 4 Secure Login Library The Secure Login Library provides a cryptographic library for an SAP NetWeaver Application Server ABAP system. It supports both X.509 and Kerberos technology. Note The SAP Cryptographic Library is the default cryptographic library that comes with the SAP NetWeaver Application Server. For more information, see SAP Note You can optionally download the SAP Cryptographic Library from the SAP Service Marketplace under Software Downloads Browse our Download Catalog SAP Cryptographic Software. If, for any reason, you want to use Secure Login Library instead of the default SAP Cryptographic Library, download Secure Login Library from the SAP Service Marketplace. For more information, see the related link. Related Information Downloading Secure Login Library [page 88] This section deals with the prerequisites and requirements for the installation of Secure Login Library. 4.1 SAP Cryptographic Library for Secure Login The SAP Cryptographic Library (CommonCryptoLib) is the default cryptographic library for a newly-installed SAP Single Sign-On 2.0 SP03 or higher. The SAP Cryptographic Library comes with the kernel of SAP NetWeaver Application Server ABAP. For more information, see SAP Note link).. You can also download it from the SAP Service Marketplace (see related After a new installation, SAP Single Sign-On uses the SAP Cryptographic Library. The relevant profile parameter of the instance of the SAP NetWeaver Application Server ABAP points to the path of the SAP Cryptographic Library. Overview The SAP Cryptographic Library and the Secure Login Library provide the same functions, but they are located in different places. The Secure Login Library comes with configuration files, while the SAP Cryptographic Library is delivered as is. The component NWSSO for CommonCryptoLib 2.0 is a component that enables you to use a number of functions in conjunction with the SAP Cryptographic Library, such as revocation check, configuration of the SNC SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

83 communication protocol parameters, and/or support for a PKCS#11-based hardware security module. For more information, see the related link. Revocation check and the configuration of the SNC communication protocol parameters with the SAP Cryptographic Library require additional configuration files. You can download them from SAP Note The certificates and Kerberos keytab files are also managed differently (see the related link). The differences mentioned above can have an impact on the Secure Login Client and the Secure Login Server. If you are using the SAP Cryptographic Library as a replacement for Secure Login Library, this affects the following connections: AS ABAP connection to SAP GUI using an SNC connection AS ABAP connection to RFC clients using an SNC connection Connections with SPNego for ABAP Server-to-server connections AS ABAP to AS ABAP AS Java to AS ABAP Installation Details By default, the SAP Cryptographic Library is installed in the following path: $(DIR_EXECUTABLE) or $(DIR_CT_RUN) The installation folder contains the following files: $(FT_DLL_PREFIX)sapcrypto $(FT_DLL) $(FT_DLL_PREFIX)sapcrypto $(FT_DLL).pdb (for Microsoft Windows platforms only) $(FT_DLL_PREFIX)slcryptokernel $(FT_DLL) $(FT_DLL_PREFIX)slcryptokernel $(FT_DLL).sha256 sapgenpse$(ft_exe) sapgenpse$(ft_exe).pdb (for Microsoft Windows platforms only) sapcrypto.lst Configuration of the Library The configuration files, for example for SNC, are not part of the installation of the SAP Cryptographic Library. However, the optional component NWSSO for CommonCryptoLib 2.0 offers templates for the configuration files (see SAP Note ). Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 83

84 Configuration of Secure Login Client By default, Secure Login Client 2.0 SP 03 or higher works with the SAP Cryptographic Library. For this reason, the Secure Login Client installation package comes without the configuration file gss.xml in C:\Program Files (x86)\sap\frontend\securelogin\etc Related Information NWSSO for CommonCryptoLib 2.0 [page 75] A new installation of SAP Single Sign-On 2.0 SP03 or higher uses the SAP Cryptographic Library, which is the default cryptographic library of the SAP NetWeaver Application Server Configurable Features of SAP Cryptographic Library The SAP Cryptographic Library supports all configurable features of the Secure Login Library. If you want to use these features, adapt the configuration in the same way as in the Secure Login Library and provide the relevant configuration files in the place where the SAP Cryptographic Library is used. Among other things, the SAP Cryptographic Library supports the following features: SNC for Kerberos and X.509 certificate authentication (see the related link) SPNego for ABAP Keytab maintenance for Kerberos authentication (see the related link) Various SNC communication protocols, certificate revocation lists, and trace of the cryptographic library You configure the SNC communication in an XML file. The certificate revocation tool is configured in a set of XML files, and the file sectrace.ini is required for the trace configuration. For more information, see the related links. Table 9: Overview of Configuration Files Feature Required File Information SNC communication protocol gss.xml A template for this file is available in SAP Note Certificate revocation lists crl.exe The file for the CRL tool is included in the component NWSSO for CommonCryptoLib 2.0. pkix.xml, base.xml, and ldap.xml Templates for these files are available in SAP Note SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

85 Feature Required File Information Trace of the SAP Cryptographic Library sectrace.ini A template for this file is available in SAP Note Related Information SNC X.509 Configuration [page 110] This section describes the SNC X.509 certificate configuration. SNC Kerberos Configuration [page 113] Configuring SNC for Kerberos includes the creation of an X.509 PSE and of setting the relevant profile parameters. SNC Communication Protocol Parameters [page 131] In the file gss.xml, you can configure the SNC communication protocol for server-to-server and client-toserver communication. Using Certificate Revocation Lists [page 142] The SAP Cryptographic Library or the Secure Login Library supports certificate revocation lists, which enable you to revoke certificates that have been declared invalid. Configuring Tracing for the Cryptographic Library [page 148] In the case of an error, you can activate tracing for the SAP Cryptographic Library, the Secure Login Library, or any other cryptographic library you are using Compatibility of SAP Cryptographic Library and Secure Login Library The SAP Cryptographic Library (CommonCryptoLib) supports the same features as the Secure Login Library. However, there are some differences concerning the compatibility of these libraries. SAP Cryptographic Library Delivered Without Configuration Files The configuration files base.xml, gss.xml, ldap.xml, pkix.xml, sectrace.ini, and crl.exe are not part of the delivery package. They are used to configure certificate revocation list checking, SNC communication modes, or certificate policy checking. The SAP Cryptographic Library supports these configuration files although they are not included in the delivery package. For more information, see the related link. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 85

86 Different SNC Name Keywords for X.509 Certificates The SAP Cryptographic Library and the Secure Login Library use different name schemas. This means that a few keywords for the SNC name are not identical. They are displayed in a different way. You will only encounter compatibility issues if you are using the following keywords in SNC names: BUSINESSCATEGORY DESCRIPTION GIVENNAME SERIALNUMBER SN ST STREET TITLE This means that you must change the SNC names when you migrate from the Secure Login Library to the SAP Cryptographic Library. For more information, see SAP Note Caution If you are running Secure Login Clients 1.0 and/or 2.0 SP02 or lower and/or RFC clients, and if you have the keyword issue in the SNC name, you must solve it (see Client Compatibility with the SAP Cryptographic Library [page 87]). Secure Login Client 2.0 SP03 or higher can handle all kinds of keywords in the SNC name. Handling of SNC Names with Special Characters The SAP Cryptographic Library handles special characters in SNC names (for ä, ö, or ü) in a way that differs from the Secure Login Library. The SAP Cryptographic Library uses T61 encoding while the Secure Login Library uses UTF-8 encoding. Caution For example, Kerberos names or addresses in X.509 certificates always If you are in SNC names, it is mandatory to generate the SNC names (canonical name). Example SNC name with a special character: p:cn=julia Müller, O=SAP-AG, C=DE When migrating to the SAP Cryptographic Library, you must generate the canonical names of all SNC names again. For more information, see SAP Note SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

87 Handling of Kerberos keytabs If you are using SNC with Kerberos authentication and are migrating from Secure Login Library 1.0, you must create or re-import the Kerberos keytab with sapgenpse keytab. The keytabs in pse.zip cannot be used or imported. Create the required credentials and restart your server. For more information, see the related link. Related Information Configurable Features of SAP Cryptographic Library [page 84] The SAP Cryptographic Library supports all configurable features of the Secure Login Library. Creating Keytab for Kerberos [page 116] You need a keytab file to use SNC with Kerberos authentication Client Compatibility with the SAP Cryptographic Library The SAP Cryptographic Library and Secure Login Library 1.0 or 2.0 use different keywords in SNC names. These differences in the keywords can affect the SNC name in the clients. Context Secure Login Client 2.0 SP03 works seamlessly with the SAP Cryptographic Library. It can handle all keywords in the SNC name. Note With Secure Login Client 2.0 SP03 or higher, the file gss.xml is not included in the installation kit. You can nevertheless use your old (modified) configuration file. Add it during the installation. However, Secure Login Client 2.0 SP02 or lower and 1.0, and the respective RFC clients, only support one set of keywords. If you want to run Secure Login Client 2.0 SP02 or lower and/or 1.0, solve the keyword incompatibility. Procedure 1. (Option 1) Upgrade all client to Secure Login Client 2.0 SP03 or higher. 2. (Option 2) Solve the keyword incompatibility (see SAP Note ). Change the SNC name in each client. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 87

88 4.2 Secure Login Library Installation The following topics explain how to install Secure Login Library Downloading Secure Login Library This section deals with the prerequisites and requirements for the installation of Secure Login Library. You can download the SAP Single Sign-On software from the SAP Service Marketplace. Go to the SAP Support Portal of the SAP Service Marketplace and choose Software Downloads Support Package and Patches Browse our Download Catalog SAP NetWeaver and complementary products SAP NetWeaver Single Sign-On SAP NetWeaver Single Sign-On 2.0 Comprised Software Component Versions Secure Login Library 2.0. The Secure Login Library is available for the several operating systems. Related Information Installing Secure Login Library on a Microsoft Windows Operating System This topic describes the installation of Secure Login Library on a Microsoft Windows Operating System. Context Before starting the installation process, the Secure Login Library software SECURELOGINLIB.SAR must be available. Copy the file to the target SAP NetWeaver Application Server. Secure Login Library must be installed in a directory to which the Application Server has access at runtime. We recommend that you create this directory below the SAP NetWeaver Application Server. Procedure 1. Create a new folder named SLL in: SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

89 $(DIR_INSTANCE)\SLL Example D:\usr\sap\ABC\DVEBMGS00\SLL 2. Extract the file SECURELOGINLIB.SAR to the new folder with the SAPCAR command line tool. sapcar xvf <SourcePath>\SECURELOGINLIB.SAR R $(DIR_INSTANCE)\SLL Example sapcar xvf D:\SECURELOGINLIB.SAR R D:\usr\sap\ABC\DVEBMGS00\SLL Note Take care that your adminstrator has write permission for the extracted files. 3. To verify Secure Login Library, use the following command: D:\usr\sap\ABC\DVEBMGS00\SLL\sapgenpse This command displays status and version information of the Secure Login Library Installation on a UNIX/Linux Operating System Context Before starting the installation process, the Secure Login Library software SECURELOGINLIB.SAR must be available. Copy the file to the target SAP NetWeaver Application Server. Secure Login Library must be installed in a directory to which the Application Server has access to at runtime. We recommend that you create this directory below the SAP NetWeaver Application Server. Note Perform the configuration steps for the Secure Login Library with the user account that will start the SAP application (for example, <SID>adm). Once configuration is complete, the <SID>adm user needs to have access rights to the Secure Login Library. Procedure 1. Create a new folder named SLL in: $(DIR_INSTANCE)/SLL Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 89

90 Example /usr/sap/abc/dvebmgs00/sll 2. Extract the file SECURELOGINLIB.SAR to the new folder with the SAPCAR command line tool. SAPCAR xvf <SourcePath>/SECURELOGINLIB.SAR R $(DIR_INSTANCE)/SLL/ Example SAPCAR xvf /tmp/secureloginlib.sar R /usr/sap/abc/dvebmgs00/sll/ 3. Define File Attributes in UNIX/Linux. To use shared libraries in shell (operating system UNIX/Linux) and the crl command, you need to set the file permission attributes with the following command: chmod +rx $(DIR_INSTANCE)/SLL/lib* chmod +rx $(DIR_INSTANCE)/SLL/crl Example chmod +rx /usr/sap/abc/dvebms00/sll/lib* To use the shell under the operating system HP-UX with the shared libraries, you need to set an attribute with the following command: chatr +s enable <INSTDIR>/<SID>/DVEBMS<instance_number>/SLL/crl 4. If you did not use the <SID>adm user during the installation, you must define the file owner in UNIX/Linux. Apply access rights to the user account that will start the SAP application (for example, <SID>adm). chown [OWNER]:[GROUP] * Example chown abcadm:sapsys 5. Test Secure Login Library.To verify Secure Login Library, use the sapgenpse command (in UNIX/Linux environment test with user <SID>adm): /usr/sap/abc/dvebms00/sll/sapgenpse The sapgenpse command produces the following output with library name, platform sapgenpse version. file, and environment variable. Usage: sapgenpse [-h] [-l <sapcryptopath>] <command> [-h] [sub-options]... -l <sapcryptopath> Path of CommonCryptoLib (libsapcrypto.so) to be used -h Show help text <command> Command to execute <command> -h Show help text of named command Loaded CommonCryptoLib from sapgenpse folder "/Disk1/sap/ABC/DVEBMGS04/SLL/libsapcrypto.so" Platform: linux-gcc-4.3-x86-64 (linux-gcc-4.3-x86-64) Versions: SAPGENPSE 2.0 SP2 (Oct ) FILE-Version SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

91 CommonCryptoLib (SAPCRYPTOLIB) Version pl40 (2.0 SP2) (Oct ) MTsafe USER="abcadm" Environment variable $SECUDIR is not defined! Fallback selection of SECUDIR through HOME: "/home/abcadm/sec" Uninstallation This section explains how to uninstall Secure Login Library. Procedure 1. Remove folder SLL. Remove the folder and its contents: Microsoft Windows $(DIR_INSTANCE)\SLL\ UNIX/Linux $(DIR_INSTANCE)/SLL/ 2. Deactivate SNC Library Configuration. This step is optional and required only if the Secure Login Library is configured in an SAP NetWeaver instance profile parameter. If you want deactivate SNC, define the following instance profile parameter and restart the SAP NetWeaver Application Server ABAP Application Sever: Example snc/enable = 0 For more information about the instance profile parameters see related link. Related Information SNC Parameters for the SAP Cryptographic Library [page 314] SNC parameters for X.509 and Kerberos certificates in SAP NetWeaver Application Server ABAP Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 91

92 4.3 Updating Secure Login Library from 2.0 SP01 to the Current Support Package If you want to update Secure Login Library from version 2.0 SP01 to the current support package of release 2.0, use the software from the SAP Service Marketplace. You can download the SAP Single Sign-On software from the SAP Service Marketplace. For more information, see the related link. Related Information Downloading Secure Login Library [page 88] This section deals with the prerequisites and requirements for the installation of Secure Login Library Downloading the Secure Login Library Software Before you start the update process, the SAR file for Secure Login Library of Secure Login for SAP Single Sign-On 2.0 SP1 must be available. Context To get the relevant Secure Login Library installation kit, proceed as follows: Procedure 1. Download the relevant Secure Login Library SAR file from the SAP Service Marketplace. This archive file contains a directory structure that lists the different platforms. 2. Choose the directory for relevant platform. 3. Extract the SECURELOGINLIB.SAR file that is suitable for your platform SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

93 4.3.2 Updating Secure Login Library to the Current Support Package on a Microsoft Windows Operating System You can update Secure Login Library from version 2.0 SP01 to the current support package of release 2.0 on a Microsoft Windows Operating System. Context Before you start the update process, the current support package of the Secure Login Library software SECURELOGINLIB.SAR for Secure Login of SAP Single Sign-On 2.0 must be available. You copy the file to the target SAP NetWeaver Application Server. Secure Login Library must be installed in a directory to which the Application Server has access at runtime. We recommend that this directory is located below the SAP NetWeaver Application Server. Procedure 1. Stop the SAP NetWeaver Application Server. 2. Rename the SLL directory, for example, to SLL_OLD. All the files from version 2.0 SP01 remain in the renamed directory. a) If you changed the configuration in the past, keep the configuration files, which are usually files, in a separate place. 3. Create a new folder named SLL. $(DIR_INSTANCE)\SLL Example D:\usr\sap\ABC\DVEBMGS00\SLL 4. Extract the file SECURELOGINLIB.SAR to the new folder with the SAPCAR command line tool. sapcar xvf <SourcePath>\SECURELOGINLIB.SAR R $(DIR_INSTANCE)\SLL Example sapcar xvf D:\SECURELOGINLIB.SAR R D:\usr\sap\ABC\DVEBMGS00\SLL Note Take care that your administrator has write permission for the extracted files. The SLL folder contains several subfolders and the following files: crl.exe crl.pdb Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 93

94 gss.xml sapcrypto.dll sapcrypto.lst sapcrypto.pdb sapgenpse.exe sapgenpse.pdb SECURE_LOGIN_LIBRARY_<Windows_platform_version> slcryptokernel.dll slcryptokernel.dll.sha256 a) (If required) Change the configuration by editing the relevant XML configuration files. For more information, see the related links. 5. Start the SAP NetWeaver Application Server. Related Information SNC Communication Protocol Parameters [page 131] In the file gss.xml, you can configure the SNC communication protocol for server-to-server and client-toserver communication. Configuring the CRL Tool [page 145] This topic describes the CRL configuration files Updating Secure Login Library to the Current Support Package on a UNIX/Linux Operating System You can update Secure Login Library from version 2.0 SP01 to the current support package of release 2.0 on a UNIX/Linux Operating System. Context Before you start the update process, the current support package of the Secure Login Library software SECURELOGINLIB.SAR for Secure Login of SAP Single Sign-On 2.0 must be available. You copy the file to the target SAP NetWeaver Application Server. Secure Login Library must be installed in a folder to which the Application Server has access at runtime. We recommend that this folder is located below the SAP NetWeaver Application Server SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

95 Procedure 1. Stop the SAP NetWeaver Application Server. 2. Rename the SLL folder, for example, to SLL_OLD. All the files from version 2.0 SP01 remain in the renamed folder. a) If you changed the configuration in the past, keep the configuration files, which are usually files, in a separate place. 3. Create a new folder named SLL. $(DIR_INSTANCE)/SLL Example /usr/sap/abc/dvebmgs00/sll 4. Extract the file SECURELOGINLIB.SAR to the new folder with the SAPCAR command line tool. sapcar xvf <SourcePath>/SECURELOGINLIB.SAR R $(DIR_INSTANCE)/SLL/ Example sapcar xvf /tmp/secureloginlib.sar R /usr/sap/abc/dvebmgs00/sll/ Note Take care that your administrator has write permission for the extracted files. For more information, see related link. The SLL folder contains several subfolders and the following files: crl.exe gss.xml sapcrypto.dll sapcrypto.lst sapgenpse.exe SECURE_LOGIN_LIBRARY_<Windows_platform_version> slcryptokernel.dll slcryptokernel.dll.sha256 a) (If required) Change the configuration by editing the relevant XML configuration files. For more information, see the related links. 5. Start the SAP NetWeaver Application Server. Related Information Installation on a UNIX/Linux Operating System [page 89] Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 95

96 SNC Communication Protocol Parameters [page 131] In the file gss.xml, you can configure the SNC communication protocol for server-to-server and client-toserver communication. Configuring the CRL Tool [page 145] This topic describes the CRL configuration files Configuring Secure Login Library During an Update to the Current Support Package When updating Secure Login Library 2.0 to the current support package, you can use your already existing Secure Login Library configuration or you can define a new configuration. Context You can change, for example, the SNC communication parameters or the use of certificate revocation lists. For more information, see related link. Secure Login Library uses only the configuration files that are located in you installation folder. The installation folder is usually the /SLL folder Note After having extracted the SAR file, you find the configuration files in the /defaults subfolder. Procedure If you want to use your previous configuration files (for example, from version 2.0 SP01), proceed as follows: a) Copy the configuration files to the installation folder, for example /SLL. b) If you want to use Secure Login Library trace, copy sectrace.ini with your preferred trace configuration (from version 2.0 SP01) to the installation folder. For more information, see related link. c) Save your changes. If you want to enter a new configuration, take the following steps: a) Copy the relevant configuration files from the /defaults subfolder to the installation folder. b) Open it in the installation folder and modify the parameters. c) Save your changes. If you want to enter a new configuration, you also have the following option: a) Create a new configuration file in the installation folder. b) Add the required parameters. c) Save your changes. Start the SAP NetWeaver Application Server SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

97 Related Information Configuration of the Cryptographic Library [page 108] You perform the secure network communication (SNC) configuration for the SAP NetWeaver server system using the instance profile. Use transaction RZ10 to maintain the SNC profile parameters. Configuring Tracing for the Cryptographic Library [page 148] In the case of an error, you can activate tracing for the SAP Cryptographic Library, the Secure Login Library, or any other cryptographic library you are using. 4.4 Migrating Secure Login Library to SAP NetWeaver Single Sign-On 2.0 from 1.0 This topic describes how you migrate the cryptographic library from SAP NetWeaver Single Sign-On 1.0 to 2.0. Context Note If you migrate to SAP NetWeaver Single Sign-On 2.0 SP03 or higher, you need not migrate the cryptographic library. By default, Secure Login uses the SAP Cryptographic Library, which comes with the SAP NetWeaver Application Server. For more information, see SAP Note Prerequisites: You have already installed Secure Login Library of SAP NetWeaver Single Sign-On 1.0. Migrating Secure Login Library basically means replacing the library of SAP NetWeaver Single Sign-On 1.0 by the library SAP NetWeaver Single Sign-On 2.0. If you are using SNC, you must make sure that an SNC SAPCryptolib PSE (called SAPSNCS.pse in the file system) is available in the trust manager of the Application Server ABAP. In the next step, you stop the AS ABAP. This is the time when you replace the libraries because the AS ABAP does not access them. After having started the AS ABAP, you enable the Application Server ABAP to use the library of SAP NetWeaver Single Sign-On 2.0. Procedure 1. Create a directory called SLLnew. 2. Unpack SECURELOGINLIB.SAR in SLLnew. Example sapcar xvf D:\SECURELOGINLIB.SAR R D:\usr\sap\ABC\DVEBMGS00\SLLnew Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 97

98 3. (Optional) Check the SNC status to see which certificate and keytab you are using in SAP NetWeaver Single Sign-On 1.0. Use the following command: D:\usr\sap\ABC\DVEBMGS00\SLL\snc status 4. If you use SNC with certificates, you must make sure that an SNC PSE called SAPSNCS.pse is available. If you already managed your PSEs in the trust manager of the Application Server ABAP, proceed with the next main step. If you used, for example, pse.zip for SNC with PKCS#12 files, you must convert these files to SAPSNCS.pse in the correct format. The subsequent substeps guide you through the procedure. a) If the PKCS#12 file is included in pse.zip, extract it. b) Convert the PKCS#12 file to a PSE file. c) Go to D:\usr\sap\ABC\DVEBMGS00\SLLnew. d) Use the following command: sapgenpse import_p12 -x <New_PSE_password> -z <PKCS#12_password> -p <PSE_file_to_create> <PKCS#12_file> e) If you maintain your PSEs in the trust manager, start the trust manager (transaction STRUST) in SAP GUI or SAP GUI for HTML. f) Choose PSE Import. g) Select the newly converted PSE. h) To import the file, choose Open. i) (If required) Enter a password if your PSE is password-protected. j) Choose k) To save the content, choose PSE Save as.... l) Choose SNC SAPCryptolib in the popup. m) Choose. The content of your PSE is in the database of the SAP NetWeaver Application Server ABAP. The trust manager distributes the PSE throughout your system environment. n) If you need additional trusted certificates, add them using the trust manager. 5. (If required) If you use SNC with Kerberos authentication, create a Kerberos keytab file. Use the sapgenpse command in the SSLnew folder. For more information, see related link. 6. Change the name of the profile parameter snc/gssapi_lib to $(DIR_INSTANCE)$(DIR_SEP)SLL$ (DIR_SEP)$(FT_DLL_PREFIX)sapcrypto$(FT_DLL) in the Application Server ABAP. For more information, see related link. 7. Stop the SAP NetWeaver Application Server ABAP. 8. Remove the SLL directory. 9. Rename the SLLnew directory to SLL. 10. Start the Application Server ABAP. This enables the Secure Login Library to access the content on the level of the file system. Related Information Creating Keytab for Kerberos [page 116] You need a keytab file to use SNC with Kerberos authentication SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

99 SNC X.509 Configuration [page 110] This section describes the SNC X.509 certificate configuration. 4.5 Scenarios for Migrating to SAP Cryptographic Library of SAP NetWeaver Application Server ABAP If you want to migrate to SAP Single Sign-On 2.0 SP03 with the default SAP Cryptographic Library, start the migration from a system that is using Secure Login Library as its default cryptographic library. SAP Single Sign-On 2.0 SP03 can use the SAP Cryptographic Library, which is the default cryptographic library provided by the SAP NetWeaver Application Server. For more information, see SAP Note The following migration scenarios are possible: Migrating from Secure Login Library 1.0 Migrating from Secure Login Library 2.0 SP02 or lower Tip SAP Cryptographic Library and Secure Login Library use different name schemas. This means that some keywords for the SNC name are not identical (see the related link). They are displayed in a different way. For more information, see SAP Note We recommend that, if your keywords are incompatible, you upgrade your clients to release 2.0 SP03 or higher before migrating to the SAP Cryptographic Library. Secure Login Client 2.0 SP03 can handle all keywords for SNC names. Caution When you migrate from Secure Login Library to SAP Cryptographic Library and you are using clients with release 1.0 and/or 2.0 SP02 or lower, you need to change the SNC names if you are using certain keywords. Follow the procedure described in SAP Note Related Information Compatibility of SAP Cryptographic Library and Secure Login Library [page 85] The SAP Cryptographic Library (CommonCryptoLib) supports the same features as the Secure Login Library. However, there are some differences concerning the compatibility of these libraries. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 99

100 4.5.1 Migrating from Secure Login Library 1.0 You want to migrate from Secure Login Library 1.0 to the SAP Cryptographic Library of SAP NetWeaver Application Server ABAP. Prerequisites You have installed the SAP Cryptographic Library of SAP Single Sign-On 2.0 SP03 or higher in the default folder. Example $(DIR_EXECUTABLE) or $(DIR_CT_RUN) Secure Login Library is installed in a different folder. Context Secure Login Library 1.0 is installed on SAP Single Sign-On. The SAP Cryptographic Library replaces Secure Login Library 1.0 as the SNC library. Procedure 1. (If applicable) To establish trust for X.509 certificates, you need to maintain your PSEs in the trust manager of the SAP NetWeaver Application Server. If the trust manager already uses your PSEs, you do not need to do anything. If you have not yet maintained your PSEs in the trust manager, see Establishing Trust for X.509 Certificates [page 101]. a) If you use configuration files for the SNC connection, check Compatibility of SAP Cryptographic Library and Secure Login Library [page 85] to see whether you need to solve compatibility issues before you continue. 2. (If applicable) If you use SNC with Kerberos authentication, create or import a Kerberos keytab file. The keytab files in pse.zip cannot be used or imported. Use the sapgenpse command in the folder of the SAP Cryptographic Library. For more information, see Creating Keytab for Kerberos When Using SAP Cryptographic Library [page 102]. 3. Change the name of the profile parameter snc/gssapi_lib to $(DIR_EXECUTABLE)$(DIR_SEP)$ (FT_DLL_PREFIX)sapcrypto$(FT_DLL) in the Application Server ABAP. For more information, see the related link. 4. Stop the SAP NetWeaver Application Server ABAP. 5. Start the Application Server ABAP. This enables the SAP Cryptographic Library to access the content at the file system level SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

101 6. If you are using Kerberos authentication and you use special characters in the user SNC name, see SAP Note Remove the installation folder of Secure Login Library, for example /SLL Establishing Trust for X.509 Certificates If you are using X.509 certificates, you need to establish trust with the help of the PSEs in the trust manager of the SAP NetWeaver Application Server. Context SAP NetWeaver Single Sign-On 2.0 SP03 or higher is using the SAP Cryptographic Library, which is the default cryptographic library provided by the SAP NetWeaver Application Server. If you are working with X.509 certificates, establish trust by maintaining your PSEs in the trust manager of the SAP NetWeaver Application Server. If the trust manager already uses your PSEs, you do not need to do anything. If you have not yet maintained your PSEs in the trust manager, proceed as follows: If you are using SNC with certificates, you must make sure that an SNC PSE called SAPSNCS.pse is available. If you have already managed your PSEs in the trust manager of the Application Server ABAP, proceed with the next main step. If you used, for example, pse.zip for SNC with PKCS#12 files, you need to convert these files to SAPSNCS.pse in the correct format. The subsequent substeps guide you through the procedure. Procedure 1. If the PKCS#12 file is included in pse.zip, extract it. 2. Convert the PKCS#12 file to a PSE file. 3. Go to $(DIR_EXECUTABLE) or $(DIR_CT_RUN).. 4. Run the following command: sapgenpse import_p12 -x <New_PSE_password> -z <PKCS#12_password> -p <PSE_file_to_create> <PKCS#12_file> 5. To import your PSE, start the trust manager (transaction STRUST) in SAP GUI or SAP GUI for HTML. 6. Choose PSE Import. 7. To import the file, choose Open. 8. (If required) If your certificates are password-protected, enter the password. 9. Choose 10. To save the content, choose PSE Save as In the dialog box, choose SNC SAPCryptolib. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 101

102 12. Choose. The content of your PSE is in the database of the SAP NetWeaver Application Server ABAP. The trust manager distributes the PSE throughout your system environment. 13. If you have trusted certificates in the file pse.zip, use the following command to import the list of trusted certificates: snc status f <path>/<file_name>.zip 14. Extract the trusted certificates from the ZIP file. 15. To import the trusted certificates, choose Certificate Import in the trust manager. 16. Select your trusted certificates. 17. To import the file, choose Open. 18. (If required) If your certificates are password-protected, enter the password. 19. Choose 20. Expand the SNC SAPCryptolib PSE and select the relevant server. 21. Choose Add to Certificate List. 22. Save your changes. 23. If you need additional trusted certificates, add them using the trust manager Creating Keytab for Kerberos When Using SAP Cryptographic Library To use SNC with Kerberos authentication, you need a keytab file. Context If you want to use SNC with Kerberos authentication, you need to create a keytab file. Procedure 1. Go to the $(DIR_EXECUTABLE)$(DIR_SEP)$(FT_DLL_PREFIX)sapcrypto$(FT_DLL) directory, which is the default path of the SAP Cryptographic Library. 2. Set the variable <SECUDIR>. Microsoft Windows: set SECUDIR=$(DIR_INSTANCE)\sec UNIX/Linux (depends on shell): setenv SECUDIR $(DIR_INSTANCE)/sec SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

103 export SECUDIR=$(DIR_INSTANCE)/sec 3. Run the following command: Microsoft Windows: $(DIR_EXECUTABLE)\sapgenpse keytab -p SAPSNCSKERB.pse -x <PSE_password> -X <service_user_password> -a <service_user_upn> UNIX/Linux: $(DIR_EXECUTABLE)/sapgenpse keytab -p SAPSNCSKERB.pse -x <PSE_password> -X <service_user_password> -a <service_user_upn> You have created the file SAPSNCSKERB.pse and imported the keytab file for the service user for Kerberos authentication. Caution The SAP Cryptographic Library always uses a PSE file called SAPSNCSKERB.pse file for Kerberos authentication. The server does not start if the file has a different name. 4. Set the credentials using the following command: sapgenpse seclogin -p <path>\sapsncskerb.pse -x <PIN> -O <system_user> Example sapgenpse seclogin -p /usr/sap/abc/dvebmgs00/sec/sapsncskerb.pse -x <password> - O abcadm Caution In a Microsoft Windows environment, the sapgenpse command might change the spelling of the system user specified in -O. If this happens, the required credential is not found due to the different spelling of the system user. This can lead to an error when starting an Application Server ABAP. You can avoid this risk by using the argument -N. sapgenpse seclogin -p <path>\sapsncskerb.pse -O <system_user> -N For more information, see the related link. 5. (Optional) Add a new keytab file if required and set the credentials. Use the following command: sapgenpse keytab -p <path>\sapsncskerb.pse -x <password> -nopsegen -X <keytab_password> -a Note For more information, use the following command: sapgenpse keytab -h Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 103

104 Related Information No Credentials Found at Start of Application Server ABAP [page 327] In a Microsoft Windows environment, an Application Server ABAP does not start and displays an error message saying that the credentials were not found Migrating from Secure Login Library 2.0 SP02 or Lower You want to migrate from Secure Login Library 2.0 SP02 or lower to the SAP Cryptographic Library of SAP Single Sign-On 2.0 SP03 or higher. Prerequisites The SAP Cryptographic Library, the default cryptographic library of SAP Single Sign-On 2.0 SP03 or higher, is located or has been installed in the default folder. For more information, see SAP Note Example $(DIR_EXECUTABLE) or $(DIR_CT_RUN) Secure Login Library 2.0 is installed in a different folder, for example in /SLL. Context Secure Login Library 2.0 SP02 or lower is installed on SAP Single Sign-On. You want the SAP Cryptographic Library to replace Secure Login Library 2.0 SP02 or lower as the SNC library. Procedure 1. If you use configuration files for the SNC connection, check Compatibility of SAP Cryptographic Library and Secure Login Library [page 85] to find out whether you need to solve compatibility issues before you continue. 2. The server PSE has already been configured in the trust manager (transaction STRUST) or with the help of the sapgenpse command at the installation of Secure Login Library 2.0 SP02 or lower. 3. (If required) In your instance profile, replace the path to the SNC library with the path to the SAP Cryptographic Library. 4. Start transaction RZ Choose your instance profile. 6. Choose Extended maintenance SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

105 7. Change the value of the profile parameter snc/gssapi_lib to the default location of the SAP Cryptographic Library. Example Old value: D:\usr\sap\ABC\DVEBMGS00\SLL\sapcrypto.dll New value: $(DIR_EXECUTABLE) $(DIR_SEP) $(FT_DLL_PREFIX)sapcrypto$(FT_DLL) Note If you have a keyword issue, you cannot import the PSE with the trust manager (transaction STRUST). The file SAPSNCS.pse, which was created using the sapgenpse command remains valid for the SAP Cryptographic Library. For more information, see SAP Note a) If you have no keyword issue, check whether the server PSE file and the trusted certificate are maintained in the trust manager, and import them if necessary. 8. (If applicable) The SAP Cryptographic Library automatically uses the existing keytab files for Kerberos authentication after you have set the profile parameter snc/gssapi_lib to the path of the SAP Cryptographic Library. 9. (If applicable) You use the SAP Cryptographic Library to configure Kerberos authentication with SPNego for ABAP. If you want to use SPNego for ABAP, change the SPNego path in your instance profile parameters to the location of the SAP Cryptographic Library. a) Start transaction RZ10. b) Choose your instance profile. c) Choose Extended maintenance. d) Change the value of the profile parameter spnego/krbspnego_lib to the default location of the SAP Cryptographic Library. Example Old value: D:\usr\sap\ABC\DVEBMGS00\SLL\sapcrypto.dll New value: $(DIR_EXECUTABLE) $(DIR_SEP) $(FT_DLL_PREFIX)sapcrypto$(FT_DLL) 10. Restart your application server to complete the migration to the SAP Cryptographic Library. 11. Remove the installation folder of Secure Login Library, for example /SLL. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 105

106 4.6 Standard and FIPS Certified Secure Login Library Crypto Kernel Secure Login Library supports the FIPS security standard. Purpose When in the United States or Canada a government department wants to use crypto software in their computer systems, this software needs to be tested and validated against the FIPS security standard. This standard contains special security requirements regarding the design and implementation of cryptographic modules. Secure Login supports the FIPS standard in the Secure Login Library. Note SAP is pursuing FIPS 140-2, security level 1 certification for the default SAP Cryptographic Library (which comes with SAP NetWeaver Application Server ABAP) and the Secure Login Library component. FIPS certification ensures that the cryptographic module of the SAP Cryptographic Library and of the Secure Login Library is designed, tested, and implemented correctly and indeed protects sensitive data from unauthorized access. Implementation The Secure Login Library of SAP Single Sign-On 2.0 comes with a standard Secure Login Library crypto kernel and with a Secure Login Library crypto kernel that is certified according to the FIPS standard. The crypto kernel is a library with different cryptographic algorithms. If you are obliged to use a FIPS-certified crypto kernel, for example, to comply with legal (regulations) standards and guidelines, you use the Secure Login Library with the certified crypto kernel. The crypto kernel is included in the SAR file of the installation package. It is installed in the regular installation procedure. Note Patches and extensions of the Secure Login Library, for example, adding a new encryption algorithm, are only implemented in the library with the standard Secure Login Library crypto kernel. The library with the FIPScertified crypto kernel remain unchanged for the time being. Patches and extension of the library with the FIPScertified crypto kernel are only available after the completion of an elaborate FIPS certification process. Keep in mind that you might have to wait some time for the release of the FIPS-certified library that include the patches and extensions you want to use. After the installation, the crypto kernel is located in the SLL directory (see the related link) and consists of the following files: For Windows operating systems slcryptokernel.dll SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

107 slcryptokernel.dll.sha256 For UNIX platforms libslcryptokernel.so libslcryptokernel.so.sha256 libslcryptokernel.sl (for HP-UX) libslcryptokernel.sl.sha256 (for HP-UX) Related Information Secure Login Library Installation [page 88] The following topics explain how to install Secure Login Library Using the FIPS Certified Secure Login Crypto Kernel This topic shows how you can use the FIPS security standard. Procedure 1. Install the Secure Login Library as described in the related link. After the installation, you find the standard crypto kernel files in the standard SLL directory. The installation procedure creates a special subdirectory for the FIPS-certified files called fips. The fips subdirectory is the place where you find the certified crypto kernel files mentioned above. 2. (If you are using Secure Login Library) To use the certified crypto kernel files, copy them from the fips subdirectory to the SLL directory. This overwrites and replaces the standard crypto kernel files. 3. (If you are using SAP Cryptographic Library) To use the certified crypto kernel files, copy them from the fips subdirectory to the $(DIR_EXECUTABLE) or $(DIR_CT_RUN) directory, which is the default directory of the SAP Cryptographic Library. This overwrites and replaces the standard crypto kernel files. 4. To display details of the crypto kernel files that used by the Secure Login Library or by the SAP Cryptographic Library, use the following command: sapgenpse cryptinfo Result: The command displays the following details of the crypto kernel: Version Cryptographic algorithms Certification status (FIPS) Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 107

108 Example C:\_work\src\2.0>sapgenpse cryptinfo ############################################################################# License Disclaimer SAP Single Sign-On You are about to configure trust for single sign-on or SNC Client Encryption. Please note that for single sign-on you require a license for SAP Single Sign-On. As exception, the usage of SNC Client Encryption only without SSO is free as described in SAP Note ############################################################################# Properties of Secure Login Crypto Kernel: FIPS = YES API-VERSION = 1 VERSION = FILE-VERSION = CPU-FEATURES-SUPPORTED = AES-NI CPU-FEATURES-ACTIVE = AES-NI HASH-ALGORITHMS = MD2,MD4,MD5,SHA1,SHA224,SHA256,SHA384,SHA512,RIPEMD128,RIPEMD160,CRC32 ENCRYPTION-ALGORITHMS = RSA,ELGAMAL,AES128,AES192,AES256,DES,TDES2KEY,TDES2KEY,IDEA,RC2,RC4,RC5_32 ENCRYPTION-MODES = ECB,CBC,CFB*8,OFB*8,CTR,CTSECB,CTSCBC,GCM PADDING-MODES = PKCS1BT01,PKCS1BT02,PKCS1PSS,PKCS1OAEP,X. 923,PEM,B1,XML,SSL KEYEDHASH-ALGORITHMS = HMAC SIG-ALGORITHMS = RSA,DSA KEYEXCHANGE-ALGORITHMS = DH RANDOM-ALGORITHMS = CTR_DRBG 4.7 Configuration of the Cryptographic Library You perform the secure network communication (SNC) configuration for the SAP NetWeaver server system using the instance profile. Use transaction RZ10 to maintain the SNC profile parameters. The Secure Login Library can be configured to accept user authentications based on Kerberos tokens and X.509 certificates. You can use both authentication mechanisms in parallel. The SAP Single Sign-On configuration wizard (transaction SNCWIZARD) in the SAP GUI allows you to easily configure the Application Server ABAP for SAP Single Sign-On 2.0 SP03 or higher. It enables you to set up a default configuration for SNC and SPNego on your Application Server ABAP. For more information on the availability of the SAP Single Sign-On configuration wizard, see the SAP Help Portal under SAP NetWeaver 7.4 What's New - Release Notes English Support Package Stack 08 Security SAP Single Sign-On Wizard for SNC and SPNego (New). You can create or import X.509 certificates in the Trust Manager using transaction STRUST. To configure the Secure Login Library for Kerberos, you can use a command line tool SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

109 You can see your current SNC and SPNego configuration in SNC Configuration (transaction SNCCONFIG) of the kernel default profile and of the instance profile. For a complete description of the SNC interface and parameters, see the SAP SNC manual Note If you want to manage your PSEs in the trust manager, you must use the SAP Cryptographic Library. The SAP Cryptographic Library is delivered with SAP NetWeaver Application Server ABAP. For more information, see SAP Note If you are not running an SAP NetWeaver Application Server ABAP, download SAPCRYPTOLIB from the SAP Service Marketplace. Go to Software Downloads, and look for the relevant download package., choose Search for Caution If you are using SAP NetWeaver Application Server ABAP 7.0, you need to set the environment variable <SECUDIR> to $(DIR_INSTANCE)/sec. Otherwise SAP NetWeaver Application Server ABAP 7.0 does not start Using the Single Sign-On Wizard to Configure SNC and SPNego This wizard helps you to configure SAP Single Sign-On for secure network communication (SNC) and SPNego in the default profile. It provides a default SNC and SPNego configuration for your SAP NetWeaver Application Server ABAP. Prerequisites The SAP Cryptographic Library (CommonCryptoLib) is the default cryptographic library (see SAP Note ) of your Application Server ABAP. Context If required, you can manually change the default settings made by the wizard in transaction RZ10. The SAP Single Sign-On wizard (transaction SNCWIZARD) assists you with the following changes: Defines the SNC identity. The default value is CN=<system_ID>. Sets the profile parameters for SNC and SPNego in the default profile. Maintains Kerberos and X.509 credentials. Creates an SNC PSE if it does not exist. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 109

110 Note You need to restart the server instances of your application server for the profile parameters to take effect. Procedure 1. Open SAP GUI. 2. To start the SAP Single Sign-On wizard, enter SNCWIZARD. 3. Set the SNC and SPNego profile parameters to the default values by stepping through the wizard. 4. After having changed the SNC and SPNego profile parameters, you need to restart the application server instances. 5. Maintain the Kerberos and/or X.509 credentials according to your needs. 6. Choose Complete to finish the configuration wizard SNC X.509 Configuration This section describes the SNC X.509 certificate configuration. Prerequisites You need X.509 certificates signed by a trusted Certification Authority for the SNC configuration. This certificate must be integrated in the SNC SAPCryptolib PSE. The Secure Login Library uses X.509 client or server certificates for SNC connections. It supports either no key usage in X.509 certificates or one or more supported key usages. The supported key usages depend on whether the X.509 certificate is used for client-server or server-server communication. Make sure the X.509 certificates are configured with supported values. For a list of the key usages the Secure Login Library supports for SNC, see the following tables. Table 10: Key Usage for X.509 Client Certificates for Client-Server Communication Certificate Fields Values Mode [No key usage field] [No values] [No mode] Key Usage Digital Signature sigsession, ParallelSessions mode Key Usage Data Encipherment Encryption Key Usage Key Encipherment Encryption SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

111 Table 11: Key Usage for X.509 Server Certificates for Client-Server and Server-Server Communication Certificate Fields Values Mode [No key usage field] [No values] [No values] Key Usage Digital Signature sigsession, ParallelSessions mode (client-server only) Encryption Configuring SNC Parameters for X.509 Certificates Configuration of SNC parameters for X.509 certificates Procedure 1. Log on to the SAP NetWeaver Application Server using SAP GUI. 2. Start the transaction RZ10 and define the following SNC parameters in Instance Profile. For more information, see related link. Related Information SNC Parameters for X.509 Configuration [page 315] Use these parameters to configure SNC in the SAP NetWeaver Application Server ABAP Configuring X.509 Certificates Using the Trust Manager The default tool for the configuration of X.509 certificates and PSE management is the trust manager in the SAP GUI. It enables you to create and import PSEs and to add certificates to the certificate list of the relevant PSEs. Context For more information on the recommended way on how you configure an SNC configuration for X.509 certificates, see the SAP Help Portal in the SAP NetWeaver Library under Application Help Function-Oriented View Security Network and Transport Layer Security Transport Layer Security on the AS ABAP Using the SAP Cryptographic Library for SNC Configuring the Use of the SAP Cryptographic Library for SNC Configuring SNC for Using the SAP Cryptographic Library on the AS ABAP. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 111

112 Procedure 1. Open SAP GUI. 2. Start transaction STRUST and import the SAP server certificate. The SAP server certificate must be available in a PSE format. If this is not the case, create a PSE with the trust manager (transaction STRUST). The new certificate must be signed by a Certification Authority. For a client/server communication, the certificates must be provided by a Public Key Infrastructure (PKI). If no PKI is available the Secure Login Server (out of the box PKI) can be used to provide certificates. 3. From the PSE menu, choose Import. 4. Load the PSE file. 5. (If required) Enter the PSE password. 6. Choose the PSE Save as Select SNC SAPCryptolib and choose SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

113 If the certificate distinguished name of the PSE file does not match the SNC name configuration set in the instance profile parameter (snc/identity/as), an error message appears. This verification check is performed only if SNC is activated SNC Kerberos Configuration Configuring SNC for Kerberos includes the creation of an X.509 PSE and of setting the relevant profile parameters. Context You want to protect, for example, internal and external server-to-server communication with SNC. This topic describes how you create the relevant PSE and how you configure the SNC parameters for Kerberos in an AS ABAP. Procedure 1. Log on to the SAP NetWeaver Application Server ABAP using SAP GUI or SAP GUI for HTML. 2. Start transaction STRUST (trust manager) 3. (For SAP NetWeaver 7.4 SP05 or higher) Choose the Change button. 4. Select the SNC SAPCryptolib PSE. 5. Choose Create. For more information on creating a PSE, see SAP NetWeaver Library: Function-Oriented View Security System Security System Security for SAP NetWeaver AS ABAP Only Trust Manager Creating PSEs and Maintaining the PSE Infrastructure Creating or Replacing a PSE. 6. Set the relevant parameters and choose Continue (Enter). 7. Save your changes. 8. Start transaction RZ10 and define the following SNC parameters in the instance profile. For more information, see related link. Using this configuration, you make sure that you can at least generate a self-signed X.509 certificate. You can import your own certificate if available. Related Information SNC Parameters for Kerberos Configuration [page 316] SNC parameters for AS ABAP Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 113

114 Microsoft Windows Account for SAP Server In order to verify user Kerberos authentication, the Secure Login Library requires a Kerberos keytab which you can create using the command line tool, provided by Secure Login Library. The Kerberos keytab contains Kerberos principals and encrypted keys that are derived from the Microsoft Windows user password. Therefore a Microsoft Windows account in Microsoft Active Directory is required Create a Microsoft Windows Account Procedure 1. Create a new Microsoft Windows Account. We recommend the format SAPService<SID>. 2. Define a password and choose the option User cannot change password and Password never expires. Note Make sure the password is as complex as possible Define Service Principal Name Context The Service Principal Name will be used to provide Kerberos service tokens to the requested users. This Service Principal Name is also required for the SNC name configuration. Procedure 1. Start the Microsoft Windows tool ADSI Edit. Example Enter adsiedit.msc in the start menu of Microsoft Windows SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

115 Note If this tool is not available, see the related link. 2. Choose the Microsoft Windows user (in our example: SAPServiceABC). 3. Define the field serviceprincipalname. Note The mandatory format is SAP/SAPService<SID>. Related Information Configuring the Domain Controller [page 127] The SPNego configuration enables you to maintain and derive new symmetric keys with a Kerberos service name and password. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 115

116 Check for Multiple Service Principal Names If the Secure Login Client does not get a service ticket from the domain server, this may be due to the fact that the Service Principal Name used has been assigned several times in the Active Directory system. Use the following command to check this: Example setspn T * -T foo -X Creating Keytab for Kerberos You need a keytab file to use SNC with Kerberos authentication. Context If you want to use SNC with Kerberos authentication, you need to create a keytab file. The default procedure for creating a keytab file is the SAP GUI transaction SPNego Configuration (transaction code KERBEROS). For more information, see the related link. You can still use the following procedure as a fallback or legacy solution. Procedure 1. Go to the SLL directory. 2. Set the variable <SECUDIR>. Microsoft Windows: set SECUDIR=$(DIR_INSTANCE)\sec UNIX/Linux (depends on shell): setenv SECUDIR $(DIR_INSTANCE)/sec export SECUDIR=$(DIR_INSTANCE)/sec 3. Use the following command: Microsoft Windows: \usr\sap\abc\dvebmgs00\sll\sapgenpse keytab -p SAPSNCSKERB.pse -x <password> -X <service_user_password> -a SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

117 UNIX/Linux: /usr/sap/abcadm/dvebmgs00/sll/sapgenpse keytab -p SAPSNCSKERB.pse -x ****** -X ********* -a You have created the keytab file SAPSNCSKERB.pse for Kerberos authentication. Caution The Secure Login Library always uses a PSE file called SAPSNCSKERB.pse file for the keytab. The server does not start if the file has a different name. 4. Set the credentials using the following command: sapgenpse seclogin -p <path>\sapsncskerb.pse -x <PIN> -O <system_user> Example sapgenpse seclogin -p /usr/sap/abc/dvebmgs00/sec/sapsncskerb.pse -x <password> - O abcadm Caution In a Microsoft Windows environment, it can happen that the sapgenpse command changes the spelling of the system user specified in -O. Due to the different spelling of the system user, the required credential is not found. This can lead to an error at the start of an Application Server ABAP. You exclude this risk by using the argument -N. sapgenpse seclogin -p <path>\sapsncskerb.pse -O <system_user> -N For more information, see the related link. 5. (If applicable) Add a new keytab file for each child or trusted domain. Use the following command: sapgenpse keytab -p <path>\sapsncskerb.pse -x <password> -nopsegen -X <keytab_password> -a Note For more information, use the following command: sapgenpse -h Related Information Creating a keytab [page 129] Using a keytab file, you can add the user principal name of the Key Distribution Center to configure trust for SAP NetWeaver AS ABAP. No Credentials Found at Start of Application Server ABAP [page 327] In a Microsoft Windows environment, an Application Server ABAP does not start and displays an error message saying that the credentials were not found. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 117

118 Verifying keytabs for SNC Authentication The SAP Cryptographic Library or Secure Login Library provide a function to make a keytab available for SNC configuration. You can provide a keytab in the following ways: Using SPNego Configuration (transaction KERBEROS) or the SAP Single Sign-On configuration wizard (transaction SNCWIZARD) in SAP GUI to provide a global keytab Creating a keytab located in the SAPSNCSKERB.pse file using the sapgenpse command With SAP Cryptographic Library or SAP NetWeaver Application Server ABAP 7.4 SP08 or higher, both cryptographic libraries verify the global keytab created with SPNego Configuration (transaction KERBEROS or SNCWIZARD) first and then the keytab located in the SAPSNCSKERB.pse file generated by sapgenpse. This makes sure that the cryptographic library uses a keytab that is suitable for the SNC authentication. Restriction In an environment with SAP Cryptographic Library or SAP NetWeaver Application Server ABAP 7.4 SP07 or lower, the library verifies the keytab differently. For more information, see SAP Note activate Secure Login Library trace, it contains some of the following messages:. If you Table 12: Trace Messages for keytab Verification Issues Trace Message Kerberos ticket verified successfully with global keytab configured in SPNEGO (have global keytab configured in SPNEGO and keytab from PSE) Kerberos ticket verified successfully with global keytab configured in SPNEGO (have only this one) Kerberos ticket verified successfully with keytab from PSE (have global keytab configured in SPNEGO and keytab from PSE) keytab Verification Successful Successful Successful Description The cryptographic library has found the global keytab provided by either the KERBEROS (SPNEGO) or SNCWIZARD transaction and the keytab located in the SAPSNCSKERB.pse file. Verification was successful using the global keytab. The library has found and verified the global keytab provided by either the KERBEROS (SPNEGO) or SNCWIZARD transaction, and no keytab located in the SAPSNCSKERB.pse file is available. The library has found and verified the keytab located in the SAPSNCSKERB.pse file and has found the global keytab (provided by either the KERBEROS (SPNEGO) or SNCWIZARD transaction) SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

119 Trace Message Kerberos ticket verified successfully with keytab from PSE (have only this one) Kerberos ticket verification failed with global keytab configured in SPNEGO Kerberos ticket verification failed with keytab from PSE Kerberos ticket verification not successfully because no global keytab configured through SPNEGO nor a PSE with a keytab is existing keytab Verification Successful Failed Failed Failed Description The library has found and verified the keytab located in the SAPSNCSKERB.pse file. No global keytab provided by either the KERBEROS (SPNEGO) or SNCWIZARD transaction) is available. The library failed to verify the global keytab provided by either the KERBEROS (SPNEGO) or SNCWIZARD transaction. The library failed to verify the keytab located in the SAPSNCSKERB.pse file. The library failed to verify a global keytab and a file-based keytab (in SAPSNCSKERB.pse) because none of these keytabs is available Using Kerberos for SNC with Users in Different Domains Solution for users in different Active Directory domains using Kerberos for SNC You use Kerberos for SNC and you have users in several Active Directory domains. In such an environment, it would be the best to have a trust relationship between the different domains. Every user would then be able to receive an authentication ticket from the Domain Controller for this user s domain. As a consequence, the user would be able to use this ticket for the server, which might be in a different domain. Since it is not so easy to configure trust relationship for different domains, the Secure Login Library also supports another option X.509 and Kerberos Authentication This topic describes how you can combine X.509 and Kerberos authentication. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 119

120 Authentication with X.509 Certificates and Kerberos Users can authenticate to an AS ABAP with X.509 certificates and Kerberos using SNC communication. You already have an authentication method in place that is based on SNC server certificates. All users use the message server to authenticate at the application server. During the authentication process, the message server always sends the same SNC name since it is only able to use one single name. This means that the SNC name in the Network tab is a fixed entry entered by the CA for certificate-based authentication. To add users who are able to log on with Kerberos, you need to have a name in the CN part (of the SNC name) that enables users to perform a Kerberos authentication as well. Depending on the authentication method of the client, the Secure Login Client uses the existing CN part for certificate-based authentication or tries to map the CN part to a Service Principal Name that can be used for Kerberos authentication. If this is not possible, the Secure Login Client converts the CN part as described in the related link. Related Information Supporting Authentication with Kerberos and X.509 on SAP NetWeaver AS ABAP You want to use Kerberos authentication technology for the client-to-server communication and thus enable single sign-on and secure server-to-server communication using SNC. Prerequisites You have installed Secure Login Client on the client workstations in a Microsoft domain and have enabled SNC in SAP GUI. The SAP Cryptographic Library or Secure Login Library is installed on SAP NetWeaver AS ABAP systems ONE and TWO. This makes an SNC communication with X.509 certificates possible. Note This setup is also possible if the SAP Cryptographic Library or SAPCRYPTOLIB is installed on SAP NetWeaver AS ABAP system TWO. The following SAP NetWeaver Single Sign-On components are installed in the environment shown in the following table SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

121 Systems Microsoft Windows client SAP NetWeaver AS ABAP system ONE SAP NetWeaver AS ABAP system TWO Software Components Secure Login Client Secure Login Library or SAP Cryptographic Library (SNC library) Secure Login Library, SAP Cryptographic Library or SAPCRYPTOLIB (SNC library) Context We assume that there is a Microsoft domain user who requests authentication at a Secure Login Client. The Secure Login Client issues a Kerberos service token and authenticates at SAP NetWeaver AS ABAP system ONE with SNC. The server-to.server communication uses X.509 certificates. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 121

122 Procedure 1. In Microsoft Active Directory, create a technical user that can be used by SAP NetWeaver AS ABAP. Specify a Service Principal Name for this user. (See options 1 and 2). 2. Use Edit Profiles (transaction RZ10 on SAP NetWeaver AS ABAP systems (ONE and TWO) to configure the SNC parameters in the instance profile. 3. On SAP NetWeaver AS ABAP system ONE, use the service user of the Microsoft Active Directory, create a Kerberos keytab file in the Secure Login Library as described in SNC Kerberos Configuration [page 113]. 4. On SAP NetWeaver AS ABAP system ONE, generate X.509 certificates in the Trust Manager (transaction STRUST). Option 1 a) Create an X.509 certificate for SAP NetWeaver AS ABAP. Example CN=SAPServiceABC, OU=SAP Security, C=DE b) Start Edit Profiles (transaction RZ10). c) Choose an instance profile. d) Choose Extended Maintenance and then the Change pushbutton. e) Under snc/identities/as, enter CN=SAPServiceABC, OU=SAP Security, C=DE. Secure Login Client converts the SNC name for use by Kerberos. If SAP GUI receives the SNC name p:cn=sapserviceabc, OU=SAP Security, C=DE, the Secure Login Client rebuilds the service user, for example, to This happens if the Secure Login Client uses a Kerberos profile, and SAP GUI has no Kerberos name. Option 2 a) Create an X.509 certificate for SAP NetWeaver AS ABAP. Example Unlike some PKI vendors, Secure Login Server can generate a certificate with special characters, for example at sign. 5. On SAP NetWeaver AS ABAP system TWO, generate X.509 certificate in Trust Manager (transaction STRUST). If you use self-signed certificates, import them from SAP NetWeaver AS ABAP system ONE. 6. Restart SAP NetWeaver AS ABAP systems ONE and TWO. 7. Configure SNC user mapping in User Maintenance (transaction SU01) on SAP NetWeaver AS ABAP system ONE. 8. Depending on the communication direction, configure secure network communication (SNC) in Configuration of RFC Connections (transaction SM59) on SAP NetWeaver AS ABAP systems ONE and TWO SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

123 Related Information Secure Login Library Installation [page 88] The following topics explain how to install Secure Login Library. frameset.htmsap Help Portal for Enhancement Package 1 for SAP NetWeaver frameset.htmsap Help Portal for Enhancement Package 1 for SAP NetWeaver frameset.htmsap Help Portal for Enhancement Package 1 for SAP NetWeaver Kerberos Authentication for HTML-Based User Interfaces Using SAP NetWeaver Application Server ABAP with SPNego Kerberos authentication on SAP NetWeaver Application Server (SAP NetWeaver AS) ABAP with a web client requires Simple and Protected GSS API Negotiation Mechanism (SPNego) for SAP NetWeaver Application Server ABAP. Many company employees who use Microsoft Windows operating systems and SAP business applications for their daily work want to have Single Sign-On for their employees. The employees use PCs in a Microsoft Windows environment. They log on, for example to a Microsoft Windows operating system, which gets the respective Windows users, for example from the domain controller of Active Directory. Kerberos is the authentication method used. The Kerberos key distribution center, which is integrated in the Microsoft environment, grants a Kerberos ticket to the users who log on. When a user tries to access the Application Server ABAP with a web browser (using HTTPS), the AS ABAP requests a Kerberos service ticket from the browser. The browser forwards this request to Active Directory. The Kerberos key distribution center in the domain controller of Active Directory grants a Kerberos service ticket for the AS ABAP and the user can log on using his or her browser. Related Information Workflow with Kerberos Token without Secure Login Server [page 17] For Kerberos authentication with SAP GUI, use Secure Login Client. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 123

124 System Landscape for Kerberos Authentication on SAP NetWeaver Application Server ABAP Kerberos authentication requires several systems in your landscape, which negotiate the outcome transparently for the user. Caution SPNego does not provide transport layer security. We recommend that you use transport layer security mechanisms, such as Secure Sockets Layer (SSL) / Transport Layer Security (TLS), to ensure confidentiality and integrity of the communication with SAP NetWeaver Application Server ABAP. Table 13: Component Required for SPNego on SAP NetWeaver Application Server ABAP Component Web client Kerberos Key Distribution Center (KDC) SAP NetWeaver Application Server ABAP Note Secure Network Communication (SNC) must be activated. Description The web client requests a service or a resource from SAP NetWeaver Application Server ABAP and authenticates against the Kerberos Key Distribution Center. For example, users use a web browser as a web client to access web applications running on SAP NetWeaver Application Server ABAP. The web client of the user must support SPNego. SAP NetWeaver Application Server ABAP uses the single sign-on authentication mechanism, integrated, for example, into Microsoft Windows 2003 and higher. The Microsoft Windows Domain Controller (DC) acts as a KDC, enabling Microsoft Windows integrated authentication in a Microsoft Windows domain, which includes, among others, support for Simple and Protected GSSAPI Negotiation Mechanism (SPNego). It authenticates the user and grants a token that is used for the communication between the user s web client and SAP NetWeaver Application Server ABAP. For the supported releases of SAP NetWeaver Application Server ABAP, see SAP Note For further information, see also SAP Note Check the Product Availability Matrix for the most current releases. SAP Cryptographic Library or Secure Login Library You have licenses for SAP Single Sign-On 2.0 (see SAP Note ) and you use either the default SAP Cryptographic Library or Secure Login Library 2.0 or higher on the host SAP NetWeaver Application Server ABAP. For more information, see the related link SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

125 Related Information Secure Login Library Installation [page 88] The following topics explain how to install Secure Login Library. SAP Cryptographic Library for Secure Login [page 82] The SAP Cryptographic Library (CommonCryptoLib) is the default cryptographic library for a newly-installed SAP Single Sign-On 2.0 SP03 or higher Setting the AS ABAP Profile Parameters To enable authentication with SPNego for ABAP you must set profile parameters in the Application Server ABAP. Procedure 1. Start SAP GUI or SAP GUI for HTML. 2. Start Edit Profiles (transaction RZ10). 3. Choose default or instance profile. 4. Select Extended maintenance. 5. To edit or add profile parameters, choose the Change button. 6. Set the following profile parameters as required. Table 14: Profile Parameters for SPNego Parameter Setting spnego/enable Set to 1. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 125

126 Parameter spnego/krbspnego_lib Setting Set to the path to the Kerberos library (SAP Cryptographic Library or Secure Login Library of SAP Single Sign-On 2.0 or higher). Note For Secure Login Library, use the path to the respective file of SAP Single Sign-On: Table 15: Kerberos Library File Names File Name sapcrypto.dll libsapcrypto.so libsapcrypto.sl Operating Syste m Microsoft Windows UNIX platforms HP-UX only spnego/construct_snc_name If you use a Kerberos-based SNC product that is not SAP Single Sign-On, use this parameter to determine the format for the translation of Kerberos user name to SNC name. Default value is 111. For more information, see SAP Note SPNego: Collective Corrections. Note Changing this dynamic profile parameter does not require a restart. 7. Save and activate your entries. 8. Restart SAP NetWeaver Application Server ABAP. 9. Start SPNego Configuration (transaction KERBEROS or SPNEGO). If the transaction starts without error message, then you have set up the SPNego library correctly and you know the kernel supports SPNego SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

127 Configuring the Domain Controller The SPNego configuration enables you to maintain and derive new symmetric keys with a Kerberos service name and password. Context Find the exact steps in the Microsoft documentation. Procedure 1. Create a service user on the Windows domain controller. Tip We recommend the format Kerberos<SID>. You can use the same service user as for SNC. You can also use another service user. We recommend that you do not use SAPService<SID> because the Password Never Expires option is not set for this user by default. If the password for this user expires, single sign-on fails. Example KerberosAB1. 2. Enable the Password Never Expires option for this user. 3. Register the Service Principal Names (SPNs) for the service user for the host name of the SAP NetWeaver Application Server ABAP and all AS ABAP aliases. Thus you associate the AS ABAP aliases hades.customer.de and su3x24.customer.de with the AS ABAP service user on the Microsoft Windows Domain Controller. Ensure that all SPNs are unique. You can either register the Service Principal Names by means of the Active Directory (see the related links) or you use the setspn command as in the following example: Example setspn -A HTTP/hades.customer.de IT.CUSTOMER.DE\KerberosAB1 setspn -A HTTP/su3x24.customer.de IT.CUSTOMER.DE\KerberosAB1 4. To check the association between the AS ABAP service user and service principal name, use one of the following commands: Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 127

128 To easily find out in the client which service user is assigned to which service principal name, use the following command in the domain of the service user: Example setspn -L KerberosAB1 To check the result of the configuration on the side of the Service Principal Name, enter the following command at the command line for each SPN you registered, for example: Example ldifde -r serviceprincipalname=http/hades.customer.de -f out.ldf Related Information Registering Service Principal Names for Kerberos User Principals Names in Active Directory [page 128] You need to register the Service Principal Names in Active Directory for the host names of the SAP NetWeaver Application Server ABAP and all AS ABAP aliases. Define Service Principal Name [page 114] Registering Service Principal Names for Kerberos User Principals Names in Active Directory You need to register the Service Principal Names in Active Directory for the host names of the SAP NetWeaver Application Server ABAP and all AS ABAP aliases. Context The Service Principal Names identify, for example, dialog instances or servers of the AS ABAP. To make Kerberos authentication with SPNego possible, you have a unique assignment from a Service Principal Name to a Kerberos User Principal Name in the SPNego Configuration (transaction KERBEROS or SPNEGO). In Active Directory, however, you can register several Service Principal Names for one Kerberos User Principal Name. To register Service Principal Names for a Kerberos Principal Name, perform the following steps: Procedure 1. Start Active Directory Users and Computers SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

129 2. Go to your domain controller. 3. To enable the attribute editor, choose View and select Advanced Features. 4. Choose Users and select your Kerberos user, for example Kerberos<SID>. 5. Right-click the Kerberos user and select Properties. 6. Choose the Attribute Editor tab. 7. Select the attribute serviceprincipalname. 8. Choose the Edit button. 9. To add your Service Principal Names, enter the respective names and choose Add. 10. To make your changes permanent, choose OK and Apply Creating Kerberos Keytab Files on the Microsoft Windows Domain Controller The keytab for Kerberos-based SNC and SPNego establishes trust between the Key Distribution Center and SAP NetWeaver Application Server ABAP. Procedure Create a keytab for Kerberos-based SNC and SPNego on your Microsoft Windows Domain Controller using Active Directory means. Find the exact steps in the Microsoft documentation Creating a keytab Using a keytab file, you can add the user principal name of the Key Distribution Center to configure trust for SAP NetWeaver AS ABAP. Context Note After performing this procedure, you do not need to restart the application server if the keytab was updated or configured for the first time. Wait two minutes for all instances to synchronize. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 129

130 Procedure 1. Start SAP GUI or SAP GUI for HTML. 2. Start SPNego Configuration (KERBEROS or SPNEGO transaction). 3. Switch to Edit mode. 4. Confirm the license disclaimer. SAP NetWeaver AS ABAP only supports SPNego with a valid license for SAP NetWeaver Single Sign-On 2.0 or higher. 5. Add the user principal name manually or from a keytab file. Enter the user principal name manually if you know the password of the service user. Otherwise import the keytab file. Create a keytab for Kerberos-based SNC and SPNego by adding a Kerberos User Principal manually. Choose (Add) and enter the User Principal name and password. Save your changes. To import a keytab file, choose (Import keytab file). Save your changes. Note Keep in mind that you must have enabled SNC and maintained the user's SNC Name in the SU01 transaction. For more information, see the related link. 6. If you have not already done so, perform a user mapping on the SNC tab of User Maintenance (transaction SU01). 7. Save your entries. Results After you have configured the Key Distribution Center and the trust configuration, your users can log on to Microsoft Windows and authenticate at the AS ABAP if SAP NetWeaver Single Sign-On is already used for SNCbased authentication. The token contains the Kerberos User Principal Name (UPN), which does not match the ABAP user name. The UPN from the Active Directory has the following format: Format: Example: During SPNego authentication, the token received from the Key Distribution Center is transferred by the way of the user s web client to the AS ABAP. This token contains the Kerberos UPN, which consists of two parts: a user name part and a domain part, separated by the at-sign (for example To authenticate the user with such a token, the UPN must be mapped to an existing ABAP user. SPNego re-uses the existing SNC mapping string that can be configured in transaction SU01. You can use arbitrary Kerberos-based SNC products in combination with SPNego. Unfortunately, the various SNC products differ in how they construct an SNC name for a given Kerberos User Name. This requires a configuration option to control prefixing and uppercase or lowercase conversion of the user name and domain parts. This is SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

131 controlled by profile parameter spnego/construct_snc_name. (See SAP Note SPNego: Collective Corrections.) Related Information Creating Kerberos Keytab Files on the Microsoft Windows Domain Controller [page 129] The keytab for Kerberos-based SNC and SPNego establishes trust between the Key Distribution Center and SAP NetWeaver Application Server ABAP. SNC Parameters for the SAP Cryptographic Library [page 314] SNC parameters for X.509 and Kerberos certificates in SAP NetWeaver Application Server ABAP Troubleshooting SPNego on AS ABAP To analyze SPNego authentication failures, use the SPNego tracing function. Procedure 1. Start SPNego Configuration (transaction KERBEROS or SPNEGO). 2. Choose Goto SPNego Tracing. Related Information SNC Communication Protocol Parameters In the file gss.xml, you can configure the SNC communication protocol for server-to-server and client-to-server communication. You can, for example, configure formats for the Distinguished Name. You can shorten long and complicated names, integrate elements such as addresses, define the communication protocols to use, configure algorithms for the protection of application data, keys, and algorithms for encryption and digital signatures. Example (section of gss.xml) Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 131

132 Include one value in the parameters. List several values in a list separated by blanks. Use the following syntax: <namecharset>latin1</namecharset> <protocol_2010> <ciphers>aes256 aes128 rc4</ciphers> </protocol_2010> Note For more information, see the related links. Related Information Reference of the Communication Protocol Parameters (Server) [page 309] The following table contains the parameters that are valid for SNC on the server: Reference of the Communication Protocol Parameters (Client) [page 313] The following table contains the parameters that are valid for SNC on the client: Configuring Certificate Lifetime in sigsession and ParallelSessions Mode Every time you use a token (smart card or soft token) to authenticate, you enter a PIN.If you do not want to be forced to enter this PIN every time you open a session, you have the following options: In sigsession mode, the client creates a temporary key, which has a period of validity specified in age and ttl. (age is the server system time offset relative to the client system time.) During this period, the session remains valid. ttl is the validity of the certificate in seconds. It is the time the key cache remains valid. The default is 180 s starting 60 s earlier. In ParallelSessions mode, the parameter ParallelSessionsTTL specifies the validity period of the temporary key. This period of time is identical with the maximum session length. Whenever you reauthenticate, the temporary key and the associated session length are reused for a new session SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

133 Configuring sigsession Mode Context If you use the 1993 protocol on the client and server, you must choose from the following authentication modes: enc: encryption certificate sig: signature certificates and sign a temporary RSA key with it sigsession: signature certificate and sign a temporary RSA key with it. This temporary key is cached for further sessions until you close the last session. Example If you use a token (smart card or soft token) to authenticate, you enter a PIN. In sigsession mode, the client creates a temporary key, which gets a period of validity specified in age and ttl. age is the server system time offset relative to the client system time. During this period, the session remains valid. ttl is the validity of the certificate in seconds. The default is 180 s starting 60 s earlier. Note If the value in ttl in the client exceeds the server value of acceptedttl, the SNC connection produces an error message. Use the following syntax for the configuration: Configuration example Client configuration of gss.xml: <protocol_1993> <authop>sigsession</authop> <age>300</age> <ttl>1899</ttl> </protocol_1993> Server configuration of gss.xml: <protocol_1993> <acceptsigmode>true</acceptsigmode> <acceptedttl>2000</acceptedttl> </protocol_1993> To specify the lifetime of a certificate in sigsession, proceed as follows: Procedure 1. Set a value for the system time tolerance in the parameter age in the gss.xml file of the client, for example, 300. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 133

134 2. Set a value in parameter ttl in the same file, for example, Save the file. 4. Set the same value for acceptedttl as in ttl (3900) in the gss.xml file of the server. 5. Save the file. 6. Restart the server. To calculate the desired lifetime of the certificate, subtract the period specified in age from the period specified in ttl. This results in a desired lifetime of 3600 s. Example 3900 s 300 s = 3600 s To illustrate the behavior of the client and server parameters in the gss.xml files, see the following figure. Ensure that the configuration of acceptedttl (server gss.xml) and ttl (client gss.xml) are identical. The vertical dotted lines indicate the time when the certificate is issued or when it is verified. If you verify the validity of the certificate within the period specified by ttl, the verification is successful. Outside the period specified in the ttl parameter, the verification fails SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

135 Configuring ParallelSessions Mode Context Use parallel session mode for the 2010 protocol. Example If you use a token (smart card or soft token) to authenticate, you must enter a PIN. In parallel session mode, the client creates a temporary RSA key, which is cached for re-authentication in further sessions until you close the last session. Procedure 1. Enter true in ParallelSessions. 2. Enter a period of time (in seconds) in ParallelSessionsTTL to specify the period of time during which reauthentication can occur. 3. Restart the server. If the value in ParallelSessionsTTL in the client exceeds the server value of acceptedttl, the SNC connection produces an error message. Configuration example Client configuration of gss.xml: <protocol_2010> <ParallelSessions>true</ParallelSessions> <ParallelSessionsTTL>1800</ParallelSessionsTTL> </protocol_2010> Server configuration of gss.xml: <protocol_2010> <acceptedttl>2000</acceptedttl> </protocol_2010> Use Case for Defining a Symmetric Algorithm This section explains how to define the symmetric algorithm, which is used to secure communication. By default, the SAP Cryptographic Library and the Secure Login Library provides the following symmetric algorithm (priority in this order). Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 135

136 AES256 AES192 ( old protocol 1993 only) AES128 3DES ( old protocol 1993 only) RC4 ( new protocol 2010 only) The SAP Cryptographic Library and the Secure Login Library have implemented two protocols named protocol_1993 ( old ) and protocol_2010 ( new ). The old protocol is compatible with the SAP Cryptographic Library (CommonCryptoLib). The new protocol supports X.509 certificates and Kerberos tokens in parallel. If SAP GUI establishes a secure communication to the SAP NetWeaver Application Server, the symmetric algorithm is agreed between both partners. It is possible to force the use of, for example, the AES256 symmetric algorithm. You can define this configuration file gss.xml. Table 16: Parameter <algs_encr>xxx</algs_encr> Details Use this parameter to define the symmetric algorithm for the old protocol, which is defined in section <protocol_1993>. This protocol is compatible with the SAP Cryptographic Library (CommonCryptoLib). By default, the strongest symmetric algorithm that is available on both sides is agreed. It is possible to allow the acceptance of only aes256, for example. You can define the following algorithms: aes256 aes192 aes128 des3 Default is <empty>. The symmetric algorithm is arranged during the authentication process SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

137 Parameter <ciphers>xxx</ciphers> Details Use this parameter to define the symmetric algorithm for the new protocol, which is defined in section <protocol_2010>. This protocol supports the Kerberos solution. By default, the strongest symmetric algorithm that is available on both sides is agreed. It is possible to allow only the acceptance of only AES256, for example. You can define the following algorithms: AES256 AES128 RC4 Default is <empty>. The symmetric algorithm is arranged during the authentication process. Section of gss.xml <gss> <server> <protocol_1993> <algs_encr>xxx</algs_encr> </protocol_1993> <protocol_2010> <ciphers>xxx</ciphers> </protocol_2010> </server> </gss> User SNC Name Mapping The following section describes how you configure the user SNC name in the SAP Cryptographic Library or in the Secure Login Library. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 137

138 Uppercase Distinguished Name To support case insensitivity for user certificate names used by SNC, the GSS Distinguished Names presented to SAP SNC may be converted to uppercase. This can be defined in the configuration file gss.xml for the SAP Cryptographic Library or for the Secure Login Library. Table 17: Parameter <UpperCaseClientName>XXX </ UpperCaseClientName> Details Define the configuration in parameter <UpperCaseClientName>. true The distinguished name is provided in uppercase. false The distinguished name is provided in mixed case. Default is false. Section of gss.xml <gss> <server> <UpperCaseClientName>xxx</UpperCaseClientName> </server> </gss> Alternative Name DN Feature It is possible to use the Subject Alternative Name from the user certificate that is presented to the SAP SNC interface. You can define this in the configuration file gss.xml for the SAP Cryptographic Library or for the Secure Login Library. Section of gss.xml <gss> <server> <ClientNameSource>xxx</ClientNameSource> </server> </gss> You can enter several values separated by commas or spaces. The system uses the first value. If this is not possible, it proceeds to the second value etc. An error occurs when no value can be used SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

139 Example 1 The SAP Cryptographic Library or the Secure Login Library uses the URI. If the URI is not available, it uses the subject (Distinguished Name). <ClientNameSource>AltNameURI Subject</ClientNameSource> Example 2 The SAP Cryptographic Library or the Secure Login Library uses the address and, as first alternative, the Microsoft User Principal Name. If the second alternative value is not available, an error occurs. <ClientNameSource>AltName AltNameUPN</ClientNameSource> Caution If users change their own attributes (for example, through a self-service), and these attributes are used by the user certificate (issued by the Secure Login Server), a situation may occur in which these users are able to assign additional rights to themselves. Thus these users might get rights they are not supposed to have. For this case, we recommend that you implement access restrictions for the change of user attributes. An AS ABAP uses, for example, certificate-based logon with the users addresses in the Distinguished Names. The string in the certificate has the following format: This means that the user s address is used for the user mapping in SNC. If an administrator enables the user to change his or her own data, for example, address, first name, last name etc. through a self-service, this user now has the possibility to enter, for example, his or her manager s address as attribute. Since this data is usually maintained centrally, this change would also affect the Secure Login Server. If the certification user mapping feature of the Secure Login Server is configured with the address as an attribute of the certificate, the user receives a certificate with the Distinguished Name This user is now able to log on to the AS ABAP as his or her manager Default User Schema Settings The default user schema of the Secure Login Library is RFC2256. The configuration is located in the file gss.xml. Note Customers who run Secure Login Library 2.0 SP0 or SP1 and want to use patch 1 of Secure Login Library 2.0 SP1 or higher might be forced to edit the name schema in Secure Login Library 2.0 SP1 Patch 1 and enter their own name schema they used in the original release. For more information, see SAP Note and related links. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 139

140 By default, the configuration of the user schema in the file gss.xml is empty (meaning RFC2256). If you prefer, you can also enter RFC2256 for clarity. Example <gss> <nameencoding>utf8</nameencoding> <nameschema></nameschema> <! secude /'sapcryptolib' of 'rfc2256' (default) specifies the schema for order and keywords of name components --> </gss> Example <gss> <nameencoding>utf8</nameencoding> <nameschema>rfc2256</nameschema> <! secude /'sapcryptolib' of 'rfc2256' (default) specifies the schema for order and keywords of name components --> </gss> Related Information SNC Communication Protocol Parameters [page 131] In the file gss.xml, you can configure the SNC communication protocol for server-to-server and client-toserver communication. Communication and Protocol Parameters (Server and Client) [page 309] In the file gss.xml, you can configure the SNC communication protocol for server-to-server and client-toserver communication SNC Name Compatibility with a SECUDE SAPCRYPTOLIB Release User schemas for SNC names The SNC names for a certificate-based logon consist of user schema attributes for example, CN (common name), O (organization), OU (organizationalunit), or C (country). These attributes comply with the RFC2256 default for user schemas. For more information, see the Summary of the X.500(96) User Schema for Use with LDAPv3. Previous releases of SAPCRYPTOLIB and old SECUDE releases still use a user schema with obsolete attributes. The table below shows RFC2256-compliant attributes and the corresponding obsolete SAPCRYPTOLIB or SECUDE attributes, and the related keywords SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

141 Keyword RFC2256-Compliant Attribute (Default) Obsolete SAPCRYPTOLIB or SECUDE Attribute surname SN S street STREET ST title TITLE T serialnumber SERIALNUMBER SN businesscategory BUSINESSCATEGORY BC description DESCRIPTION D stateorprovincename ST SP Setting for SAPCRYPTOLIB or SECUDE Release If customers want to keep their old user schema attributes, overwrite the user schema setting. To switch the Secure Login Library to use the attributes for obsolete SAPCRYTOLIB or SECUDE releases, open the gss.xml file and enter the schema sapcryptolib or secude. Example <gss> <nameencoding>utf8</nameencoding> <nameschema>sapcryptolib</nameschema> <! secude /'sapcryptolib' of 'rfc2256' (default) specifies the schema for order and keywords of name components --> </gss> Example <gss> <nameencoding>utf8</nameencoding> <nameschema>secude</nameschema> <! secude /'sapcryptolib' of 'rfc2256' (default) specifies the schema for order and keywords of name components --> </gss> Shorten Long Distinguished Names It is possible to shorten parts of the distinguished name (SNC Name) from the user certificates that are presented to the SAP SNC interface. The character limit for SAP server systems is 255 characters (in older systems 80 characters). Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 141

142 For example, you can remove entire parts such as a company name which are identical for all users. You can define this in the Secure Login Library configuration file gss.xml. Table 18: Parameter <searchstr>xxx</searchstr> Details In the <nameconversions> section, use the <searchstr> parameter to define the part of the distinguished name to be shortened. Example OU=Very Long Organization Unit Name <replstr>xxx</replstr> In the <nameconversions> section, the <replstr> parameter is used to define the part of the distinguished name to be replaced. Example OU=Short Name The following source code represents a section of the code of the gss.xml file: <gss> <nameconversions> <searchstr>verylongnamecomponent</searchstr> <replstr>shorternamecomponent</replstr> </nameconversions> <nameconversions> <searchstr>anotherverylongnamecomponent</searchstr> <replstr>anothershorternamecomponent</replstr> </nameconversions> </gss> Using Certificate Revocation Lists The SAP Cryptographic Library or the Secure Login Library supports certificate revocation lists, which enable you to revoke certificates that have been declared invalid. This enables you to make sure that revoked certificates are not accepted. The CRL issued by the Certification Authority (CA) contains the revoked certificates. The CA issues CRLs at regular intervals. They contain a list of certificates that have been declared as invalid. CAs regularly update certificate revocation lists. They must be replaced regularly by a new CRL or by a CRL that has not yet expired. CAs place certificate revocation lists at CRL distribution points. The SAP Cryptographic Library or the Secure Login Library provides a tool that enables you to regularly download new CRLs from CRL distribution points (LDAP or HTTP) to the local cache. Storing CRLs in the local cache ensures fast accessing of the CRLs. You can schedule the download using a cron job. Storing CRLs in the cache improves system performance. Otherwise SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

143 performance suffers when the SAP Cryptographic or the LibrarySecure Login Library must download CRLs from an external CRL distribution point. Note Include the component NWSSO for CommonCryptoLib 2.0 in the installation. It enables you to use the full scope of the CRL tool in conjunction with the SAP Cryptographic Library. For more information, see the related link. To use the CRL functions, make the appropriate settings in the configuration files. For more information, see related link. The local cache for the CRLs is \SECUDIR\dbcrl. Limitations The SAP Cryptographic Library or the Secure Login Library covers only basic functions on the server side, such as checking client certificates with CRLs, getting CRLs from a distribution point, and storing it in a local cache. The SAP Cryptographic Library or the Secure Login Library has the following limitations: Customers cannot use the extension IssuingDistributionPoint in CRLs. No use of delta CRLs At present the SAP Cryptographic Library or the Secure Login Library assumes that, in a given environment, all CAs provide CRLs. This means that multiple PKIs using different revocation checking policies and one PKI with CAs using different revocation checking policies are not supported. Usually UNIX does not come with an LDAP client. To use the CRL tool to get CRLs from LDAP, you must provide an OpenLDAP client (liboldap.*). The Secure Login Client does not check CRLs. Related Information Configuring the CRL Tool [page 145] This topic describes the CRL configuration files. Configurable Features of SAP Cryptographic Library [page 84] The SAP Cryptographic Library supports all configurable features of the Secure Login Library Downloading CRLs with the CRL Tool The main function of the CRL tool is to enable you to download CRLs from the CRL distribution point and to make them available in the local cache \SECUDIR\dbcrls. When the application server checks certificates, it uses the downloaded CRL. Run the CRL tool at regular intervals to ensure that the most recent CRL is located in the local cache. We recommend using a cron job to schedule the regular download. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 143

144 Note Make sure the server process has read authorization for the CRL (files) in the cache directory. We recommend using the same user or, in a UNIX environment, granting read authorization with the umask command. To display detailed help, use crtl H. For more information, see the related link. Related Information CRL Tool Commands [page 306] This is an overview of the CRL tool commands. The main function of the CRL tool is to enable you to download CRLs Getting a CRL from a CRL Distribution Point This topic contains a variety of examples that show you how you can get a CRL from a distribution point. Context In the following examples you see the commands for getting a CRL from a CRL distribution point. For an overview of all commands, see the related link. Procedure Use the following command to get a CRL and store it in a file: To get a CRL from a CRL distribution point, use one of the following commands: Use the following command to get a CRL and store it in a file: crl get u <LDAP_server> -f <CRL_file> Example crl get u ldap:///sap.example.com -f file.crl Use the following command to get a CRL and store it in a cache without a distribution point: crl get -u <LDAP_server> store Example crl get u ldap:///sap.example.com store Use the following command to get a CRL and store it in a cache using the same distribution point (the URL in the store command must be the path of the CRL distribution list). crl get -u <LDAP_server> store -u <LDAP_server> Example crl get u ldap:///sap.example.com u ldap:///sap.example.com SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

145 Use the following command to get a CRL and store it in a cache using a different distribution point (the URL in the store command must point to the CRL distribution point specified in the certificate). crl get u <HTTP_server> store -u <LDAP_server> Example crl get u store -u ldap:///sap.example.com Related Information CRL Tool Commands [page 306] This is an overview of the CRL tool commands. The main function of the CRL tool is to enable you to download CRLs Configuring the CRL Tool This topic describes the CRL configuration files. The following configuration files are available in the \SLL folder: pkix.xml base.xml ldap.xml The parameters are similar to tags surrounding the values. You may use uppercase or lowercase for entering values pkix.xml In the configuration file pkix.xml, you can configure whether a CRL check is used at all. CRL checking is active if the parameter revcheck is set to the value CRL. The default setting of this parameter is no (no use of CRLs). Note After you have entered changes in the configuration files, restart your ABAP server so that the newly-set parameters take effect. Example <pkix> <profile> <acceptnobcwithkeyusage>true</acceptnobcwithkeyusage> <revcheck>crl</revcheck> <certificatepolicies>nocheck</certificatepolicies> </profile> </pkix> Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 145

146 The following table contains all parameters and parameter options that are available in pkix.xml. Related Information Configuration Parameters of pkix.xml [page 306] The following table contains all parameters and parameter options that are available in pkix.xml base.xml You can configure the cache and the verification of the CRL download in the file base.xml. If you use CRLs that are located in the cache, performance will improve considerably. By default, the parameter verificationonlineaccess is set to false to disable the function that verifies the CRLs online, for example on an LDAP server or HTTP server. If you want to activate CRL verification with the cache, set the parameter usepkicache to true (default setting is false). Example If you want to define a different location for the cache directory, you may optionally use the parameter pkicachedir and enter the location there (for multiple servers accessing the cache, you could use an NFS cache). <base> <verificationonlineaccess>false</verificationonlineaccess> <usepkicache>true</usepkicache> <pkicachedir>\usr\sap\t2d\dvebmgs00\sec</pkicachedir> </base> Example <base> <verificationonlineaccess>true</verificationonlineaccess> <usepkicache>false</usepkicache> <pkicachedir></pkicachedir> </base> Example If you want to carry out a CRL check from a remote LDAP directory, set the parameter verificationonlineaccess to true and set the parameter usepkicache to false. In this case, you need not enter any value in pkicachedir. <base> <verificationonlineaccess>true</verificationonlineaccess> <usepkicache>false</usepkicache> SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

147 <pkicachedir></pkicachedir> </base> Example If you want to make a CRL request from a proxy server, you must enter the host name and the port number of the proxy server. <base> <proxy> <url>host.example.com:8003</url> </proxy> The following table contains all parameters and parameter options that are available in base.xml. Related Information Configuration Parameters of base.xml [page 307] The following table contains all parameters and parameter options that are available in base.xml ldap.xml This configuration file is only relevant if you have an Active Directory environment. You only need to modify this file in an Active Directory environment. If an LDAP URL that does not contain the server name is used as a CRL distribution point (in the default setting, the relevant section is commented out), define the name of the LDAP server in the configuration file ldap.xml. If you are in a Microsoft Windows domain and Active Directory is used as LDAP server, you must enter the value ADS in the parameter name. Example <ldap> <server> <name>ads</name> </server> </ldap> The following table contains all parameters and parameter options that are available in ldap.xml. Related Information Configuration Parameters of ldap.xml [page 308] The following table contains all parameters and parameter options that are available in ldap.xml. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 147

148 Digital Signatures (SSF) with a Hardware Security Module You can use X.509 certificates for digital signatures in an SAP environment. A hardware security module provides keys for encryption and digital signing that are highly secure and very fast. For example, the signing process with 2048-bit keys is about three times faster than a software-based process for providing keys. You trigger the server-based digital signatures in SAP GUI. The supported interface is Secure Store and Forward (SSF). If you want to configure digital signatures (SSF) with a hardware security module, see SAP Note Related Topics You can use external user Certification Authorities (CAs) with certificates and keys provided by a hardware security module. For more information, see the related link. Related Information Using External User Certification Authorities [page 219] You can optionally use, for example, hardware security module (HSM) boards or other PKCS#11-enabled devices as external user Certification Authorities (CAs). 4.8 Configuration Options This section describes useful configuration and troubleshooting issues of the SAP Cryptographic Library or of the Secure Login Library Configuring Tracing for the Cryptographic Library In the case of an error, you can activate tracing for the SAP Cryptographic Library, the Secure Login Library, or any other cryptographic library you are using. Context The sectrace.ini configuration file defines the location of the trace directory SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

149 Note sectrace.ini must be located in the same directory as your cryptographic library. If tracing is activated, several trace files are available in the trace directory. The trace directory defined in sectrace.ini must be a subdirectory of DVEBMG. You can also use environment variables (encapsulated by %). Thus it is, for example, possible to specify the SLL installation directory (for Secure Login Library) by using < %.BINDIR.%>. Each process ID get its own trace file. The name of the trace file has the following format: sec-<process_id>.trc Note If the process is already known, the file name includes the process name. Example sec-dev_w0.trc (trace file for work process 0) If a trace file sec-*.trc exceeds the defined file size, its content moves to a backup file called sec- *.<number>.trc, and <number> increases. To configure tracing, for example, for the Secure Login Library, proceed as follows: Procedure 1. Go to the directory where the Secure Login Library is located. $(DIR_INSTANCE)\SLL 2. Open the file sectrace.ini using a text editor and enter your configuration. For more information, see related link. The default trace configuration has the following default settings: The trace directory is %.BINDIR.%/../SLLTrace. Trace level is 0 (no trace). The size for all trace files per process ID is 110 Mbyte. The maximum number of trace files per process ID is 10. Caution The maximum size of all trace files per process ID is 110 Mbytes (10 backup files and 1 trace file). Since the cryptographic library and each SAP GUI gets a new process ID, for example, when it starts up in the morning, you may get a large quantity of trace files every day. Make sure that you provide enough disk space for the trace function. We recommend that you only use trace of your cryptographic library if an error occurred and you are investigating the cause of the error. Deactivate the trace after the error was remedied. 3. Save your changes. Secure Login Library 2014 SAP SE or an SAP affiliate company. All rights reserved. 149

150 Note You need not restart the Application Sever ABAP. Related Information Tracing Secure Login Client [page 64] You can switch on tracing of your Secure Login Client with different trace levels. Analyzing the trace files helps you to find the cause of issues that might occur with the Secure Login Client SAP SE or an SAP affiliate company. All rights reserved. Secure Login Library

151 5 Secure Login Server The Secure Login Server is a central service that provides X.509v3 certificates (out-of-the-box PKI) to users and application servers. The Secure Login Web Client is a browser-based additional function. 5.1 Installation and Installation File Names This chapter describes how to install Secure Login Server for different support packages of SAP Single Sign-On 2.0. Install the software using Software Update Manager. Note The names of the installation files vary according to the version and support package of SAP Single Sign-On. Table 19: File Name for Installing Secure Login Server Version and Support Package Secure Login Server 2.0 SP00 Secure Login Server 2.0 SP03 Installation File Name SECURELOGINSERVER00_0.sca SLSERVER03_0-<ID>.sca The installation files have the following format: SLSERVER<support_package_number_<patch_level>- <ID>.sca Example SLSERVER03_ sca The ID attached to the file name is a temporary download ID. Secure Login Server 2.0 SPx is integrated in SAP Solution Manager. You can update Secure Login Server 2.0 to higher support packages and patches using Maintenance Optimizer. For more information, see the SAP Help Portal under SAP Solution Manager Maintenance Optimizer. If you run into problems when installing Secure Login Server, look into the trace files to identify the problem. For more information on tracing of Secure Login Server, see the related link. Related Information Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 151

152 5.1.1 Prerequisites for Installing Secure Login Server This topic describes the prerequisites for an installation of the Secure Login Server. During the installation of Secure Login Server, the SAP NetWeaver Application Server must be up and running. The Secure Login Library installation is optional and required for SAP user authentication only. The Secure Login Library will be used to establish secure communication to SAP NetWeaver Application Server ABAP to verify SAP credentials. Hardware and software requirements are described in the following documents: The Product Availability Matrix lists the software requirements for all components. For more information, see related link. The Sizing Guide contains the hardware requirements. For more information, see related link. Related Information Authentication Servers Supported by Secure Login Server [page 152] The Secure Login Server supports the following authentication servers: Authentication Servers Supported by Secure Login Server The Secure Login Server supports the following authentication servers: Table 20: Supported Authentication Servers Supported by Secure Login Server Details LDAP server system Microsoft Active Directory System 2003, 2008, 2012 openldap Oracle Directory Server Enterprise Edition For more information, see the related link. Check the Product Availability Matrix for the most current releases. SAP server system SAP NetWeaver Application Server ABAP 6.20 or higher version SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

153 Supported by Secure Login Server Details RADIUS server system RSA Authentication Manager 6.1, 7.1, and 8.0 freeradius Microsoft Network Policy and Access Services (NPA) Microsoft Internet Authentication Service (IAS) SAP NetWeaver Application Server Java User Management Engine (UME) SAP NetWeaver Application Server Java SPNego BasicPasswordLoginModule SPNegoLoginModule Related Information Enabling the Display of LDAP Messages in Secure Login Client [page 65] In a Microsoft Windows environment, you can display messages from LDAP in Secure Login Client. If LDAP generates messages, the Secure Login Server interprets them and sends its own messages to the Secure Login Client Installing Secure Login Library (Optional) The Secure Login Library installation is optional. The Secure Login Library can be used as an alternative cryptographic library for user authentication and RFC connections at an SAP NetWeaver Application Server ABAP. Note The default cryptographic library for the SAP NetWeaver Application Server is the SAP Cryptographic Library. For more information, see SAP Note Youo can use the Secure Login Library to establish secure communication to an AS ABAP and to verify SAP credentials. Note Keep in mind that there are different Secure Login Library software packages available depending on the desired operating system. This document describes the installation for Microsoft Windows and Linux operating systems. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 153

154 Installing Secure Login Library for Microsoft Windows Operating Systems Procedure 1. Copy library files. Copy the Secure Login Library software for Microsoft Windows to the target SAP NetWeaver Application Server and extract the file SECURELOGINLIB.SAR with the SAPCAR command line tool to a separate folder, which is a subfolder of exe. sapcar xvf <source_path>\secureloginlib.sar R <DIR_INSTANCE>\exe\SLL Example sapcar xvf D:\InstallSLS\SECURELOGINLIB.SAR R D:\usr\sap\ABC\J00\exe\SLL 2. Set the environment variable <SECUDIR>. Set the system environment variable <SECUDIR> to the following directory: SECUDIR=<DIR_INSTANCE>\sec Example SECUDIR=D:\usr\sap\ABC\J00\sec 3. Verify Secure Login Library. To verify the Secure Login Library, use the sapgenpse command: <DIR_INSTANCE>\exe\SLL\sapgenpse.exe Example D:\usr\sap\ABC\J00\exe\SLL\sapgenpse.exe As a result, you get further information about the Secure Login Library. The test is successful if the version is displayed SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

155 Installing Secure Login Library for Linux Operating Systems Procedure 1. Copy library files Copy the Secure Login Library software for Linux to the target SAP NetWeaver Application Server and extract the file SECURELOGINLIB.SAR with the SAPCAR command line tool to the following folder. sapcar xvf <source_path>/secureloginlib.sar R <ASJava_installation>/exe/SLL Example sapcar xvf /InstallSLS/SECURELOGINLIB.SAR R /usr/sap/abc/j00/exe/sll 2. Define file attributes To use shared libraries in a shell, it is necessary to set the file permission attributes with the following command: chmod +rx <DIR_INSTANCE>/exe/SLL/sapgenpse lib* Example chmod +rx /usr/sap/abc/j00/exe/sll/sapgenpse lib* 3. Define the file owner. Grant access rights to the user account that is used to start the SAP application (for example, <SID>adm>). Change to the folder <DIR_INSTANCE> /exe/sll and use the following command: chown [OWNER]:[GROUP] * Example chown abcadm:sapsys * 4. Verify Secure Login Library. To verify the Secure Login Library use the sapgenpse command (with user <SID>adm>): <DIR_INSTANCE>/exe/SLL/sapgenpse Example /usr/sap/abc/j00/exe/sll/sapgenpse As a result, further information about the Secure Login Library should be displayed. The test is successful if the version is displayed. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 155

156 5.1.2 Secure Login Server Installation with Software Update Manager This topic describes how you install Secure Login Server with the Software Update Manager. Context Prerequisites: Your service user has administrator authorizations. You have downloaded the latest Software Update Manager for your operating system. You have downloaded the relevant installation file for Secure Login Server. For more information, see related link. You have met the requirements for the update. For more information, see related link. Tip We recommend that you use this procedure to install Secure Login Server. Procedure 1. Start the Software Update Manager. 2. Install the installation file for Secure Login Server according to the steps in the wizard. 3. Choose the relevant components. You have now installed the Secure Login Server. Related Information Installation and Installation File Names [page 151] This chapter describes how to install Secure Login Server for different support packages of SAP Single Sign-On SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

157 5.1.3 Secure Login Server Installation with Telnet A Telnet installation is a fast, but insecure option for installing Secure Login Server. Use this installation method for support purposes only. Context Caution We recommend that you use the installation using the Software Update Manager. For more information, see related link. Procedure 1. Copy the relevant installation file to the target SAP NetWeaver Application Server. 2. Start a Telnet session. telnet localhost 5<instance_number>08 Example telnet localhost Deploy the Secure Login Server package. For Secure Login Server 2.0 SP00: deploy <source>\secureloginserver00_0.sca Example deploy D:\InstallSLS\SECURELOGINSERVER00_0.sca For Secure Login Server 2.0 SP03: deploy <source>\slserver<support_package_number>_<patch_level>-<id>.sca Example deploy D:\InstallSLS\SLSERVER03_ sca The Secure Login Server application starts automatically when you open the login page of the Secure Login Administration Console for the first time. Start the initial configuration as described in the related link. You find a list of useful Telnet commands in the related link. After the deployment of Secure Login Server, you have created the following components: Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 157

158 SecureLoginServer.sda securelogin.ui.ear securelogin.ui.alias.ear securelogin.umep.ear securelogin.lib.jni Related Information Initial Configuration Wizard [page 160] After the deployment of Secure Login Server an initial configuration is required List of Useful Telnet Commands [page 158] This topic contains a table with Telnet commands that are useful if you install Secure Login Server with Telnet. Secure Login Server Installation with Software Update Manager [page 156] This topic describes how you install Secure Login Server with the Software Update Manager List of Useful Telnet Commands This topic contains a table with Telnet commands that are useful if you install Secure Login Server with Telnet. Table 21: List of Useful Telnet Commands Action Deploy Secure Login Server Command deploy SECURELOGINSERVER00<sp_pl>.sca <sp_pl> stands for the support package number with two digits and the patch level number with one digit. Undeploy Secure Login Server Note If you want to undeploy the Secure Login Server, execute these commands. We recommend that you use the sequence displayed in this table. undeploy name=securelogin.ui vendor=sap.com undeploy name=securelogin.ui.alias vendor=sap.com undeploy name=securelogin.umep vendor=sap.com undeploy name=secureloginserver vendor=sap.com List application list_app grep securelogin SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

159 Related Information Secure Login Server Installation with Telnet [page 157] A Telnet installation is a fast, but insecure option for installing Secure Login Server. Use this installation method for support purposes only. Secure Login Server Uninstallation [page 159] This chapter describes how you uninstall Secure Login Server Secure Login Server Uninstallation This chapter describes how you uninstall Secure Login Server. Context Uninstall the Secure Login Server in Telnet. Procedure 1. Start a Telnet session. telnet localhost 5<instance_number>08 Example telnet localhost Undeploy Secure Login Server. To do so, you undeploy the components individually. undeploy name=<ear_file> vendor=sap.com Example undeploy name=securelogin.ui vendor=sap.com Example undeploy name=securelogin.ui.alias vendor=sap.com Example undeploy name=securelogin.umep vendor=sap.com Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 159

160 Example undeploy name=secureloginserver vendor=sap.com Results You have now uninstalled the Secure Login Server. The system keeps the configuration data in the database of the SAP NetWeaver Application Server. Related Information List of Useful Telnet Commands [page 158] This topic contains a table with Telnet commands that are useful if you install Secure Login Server with Telnet. 5.2 Initial Configuration Wizard After the deployment of Secure Login Server an initial configuration is required Caution The initial configuration of the Secure Login Server can be performed on local host or on a remote host (with HTTPS only) Prerequisites for Running the Initial Configuration Wizard Prerequisites for running the initial configuration wizard of the Secure Login Server Prerequisites Verify that the Secure Login Server application is running. In the SAP NetWeaver Application Server Java, you have assigned the role SLAC_SUPERADMIN to your user. For more information about users and roles in AS Java, see the related link and SAP Help Portal under SAP NetWeaver Library: Function-Oriented View Security Identity Management User Management of the Application Server Java Administration of Users and Roles Managing Users, Groups, and Roles SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

161 Tip For security reason, we recommend that you use SSL during the initial configuration process. Procedure Related Information Authorizations and Roles [page 366] Secure Login Server deploys user management engine roles for SAP NetWeaver Application Server Java that enable you to securely initialize Secure Login Server Initial Configuration This section describes the modes that are possible for the initial configuration wizard. This section describes the initial configuration of the Secure Login Server. The initialization wizard sets the values for the PKI certificates and for the user certificates. The following configuration options are available: Automatic The initialization wizard generates the configuration of the PKI certificates and user certificates automatically. You can change the configuration in each configuration step. Manual In this option, you can configure the PKI certificates and user certificates manually. You can also import a CA certificate in a key-pair file and use the parameter and values from this file. If you want to use a hardware security module user CA (HSM), see the related link. Migrate You see this option if you have an older version of Secure Login Server. In the Migrate mode, the initial configuration wizard allows you to import the PKI as a file from the previous version. Thus you can migrate the configuration from your the previous version of the Secure Login Server. Skip All If you choose this option, the initialization wizard skips the PKI creation and generates the user certificate configuration with the default values. You do not want to enter individual values. Related Information Using External User Certification Authorities [page 219] You can optionally use, for example, hardware security module (HSM) boards or other PKCS#11-enabled devices as external user Certification Authorities (CAs). Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 161

162 Initial Configuration (Automatic) Before you can work with the Secure Login Server, a wizard leads you through the initial configuration of the Secure Login Server. Context This section describes the initial configuration of the Secure Login Server. The initialization wizard accesses the Secure Login Server global directory, which contains the all the PKI information you need. It generates the PKI certificates and user certificates with the respective values automatically. Nevertheless you can change individual parameter values. For more information about the parameters, see the related link below. Procedure 1. Start the initial configuration using the browser URL: or Example Note If you want to start the initial configuration wizard from a remote computer, you have to use https. 2. To change a parameter, choose Edit. The details section displays the parameters. Mandatory parameters are marked by an asterisk (*). 3. Enter the related value or choose from a list. 4. Save your changes. If you want to undo your changes, choose Reset. This command restores the original configuration. 5. To get to User Certificate Configuration, choose Next. 6. Enter the related parameters. 7. Choose Finish to complete the initial configuration of the PKI certificates and user certificates. Related Information Parameters for Initial Configuration (PKI Certificates) [page 265] This topic contains the parameters for the configuration of the PKI certificates SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

163 Initial Configuration (Manual) Before you can work with the Secure Login Server, a wizard leads you through manual steps for the initial configuration of the Secure Login Server. Context The manual configuration mode allows you to change values for the root CA, user CA, SAP CA, SSL CA, and the user certificate configuration. You can also generate an entry by importing a file. Procedure 1. If you want to enter the values for the PKI and user certificates yourself, choose the Manual radio button. 2. (Optional) If you do not want to generate a root CA, mark the Skip Root CA checkbox. In each wizard step (except in the user CA step), you can skip the generation of each CA by marking the respective Skip field. 3. (Optional) Import an entry in a key-pair file. For more information, see the related link. 4. Enter the respective values. For more information about the parameters, see the related link below. 5. To get to User Certificate Configuration, choose Next. 6. Enter the related parameter. For more information, see the related link. 7. To complete the initial configuration, choose Finish. Related Information Parameters for Initial Configuration (PKI Certificates) [page 265] This topic contains the parameters for the configuration of the PKI certificates. Importing Certificate Entries from a File [page 165] You can import entries for the root CA and/or the user CA during certificate management. Parameters for User Certificate Configuration [page 292] This table contains the parameters for user certificate configuration for the client authentication profile, which you can configure in the Secure Login Administration Console. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 163

164 Transferring PKI Information to Secure Login Server For migration purposes, you must make sure that the PKI information of Secure Login Server 1.0 is available for your migrated Secure Login Server 2.0. Context If you want to use the automatic initial configuration of Secure Login Server during the migration of Secure Login Server 2.0 from 1.0, you must make sure that the PKI information of Secure Login Server 1.0 is available for use. The initialization wizard of the initial configuration accesses the global directory, which contains all the PKI information you need. It generates the PKI certificates and user certificates with the respective values automatically. This is the reason why you must transfer the PKI information. Proceed as follows: You must copy the entire directory and its content from the AS Java environment of your Secure Login Server 1.0. Simply copy it and insert it accordingly into the environment where your AS Java with Secure Login Server 2.0 is located. Procedure 1. In the Application Server Java, go to the following directory: /usr/sap/<sid>/sys/global/secureloginserver 2. Copy the whole directory to a directory with the corresponding name in the AS Java where your Secure Login Server 2.0 is located. The initial configuration wizard is now able to access your PKI information automatically. 3. Start the initial configuration. For more information, see related link. Related Information Initial Configuration Wizard [page 160] After the deployment of Secure Login Server an initial configuration is required SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

165 Importing Certificate Entries from a File You can import entries for the root CA and/or the user CA during certificate management. Context You want to import entries and parameters for the root CA or the user CA from a key-pair file using the initialization wizard for the generation of PKI and user certificates. Note If you want to migrate from Secure Login Server 1.0 to the current version, we recommend that you migrate the PKI. Procedure 1. Choose Import The dialog box Import Certificate appears. All fields are marked as mandatory. 2. Select the file type in the Entry Type field. The options PSE Key Pair and PKCS#12 Key Pair are available. You can only import files with the file extensions pse or p12. Note If you are migrating the Secure Login Server, import the PSE file with the respective PKI. Since this file is encrypted, you are prompted to enter a password. 3. Enter the path of the entry file in the next field or browse to the file with Browse (If applicable) If the entry is decrypted and protected by a password, enter the password to decrypt the file. 5. To complete the import, choose Save. 5.3 Administration This topic contains administration tasks such as starting Secure Login Administration Console, password management, and stopping and starting Secure Login Server. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 165

166 5.3.1 Starting the Secure Login Administration Console This section describes how you start the Secure Login Administration Console. Context To open the administration console, use a web browser. Note You find the https port in the SSL setting of the SAP NetWeaver configuration. The port number is usually Procedure 1. Open the Secure Login Administration Console of SAP Single Sign-On Shortcut: Example 2. Enter your administration user name and the password. The Secure Login Administration Console opens Changing Password This section describes how to change the administration password of the Secure Login Administration Console. Context Since the Secure Login Administration Console runs within SAP NetWeaver, you must change the administration password in SAP NetWeaver SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

167 5.3.3 Stopping and Starting Secure Login Server with Telnet You can start and stop Secure Login Server with Telnet means. Procedure 1. Start a Telnet session. c:\telnet localhost 5$(DIR_INSTANCE)08 Example c:\telnet localhost Stop Secure Login Server. stop_app sap.com/securelogin.ui 3. Start Secure Login Server. start_app sap.com/securelogin.ui Stopping and Starting Secure Login Server Using SAP Management Console You can also monitor Secure Login Server using SAP Management Console Context Secure Login Server has the following AS Java components in the SAP Management Console: sap.com/secureloginserver sap.com/securelogin.ui sap.com/securelogin.ui.alias sap.com/securelogin.umep Procedure 1. Start the SAP Management Console. 2. Choose AS Java Components. 3. Filter the applications for Secure Login Server by entering the names of the components. For example, enter the following in the Name column: Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 167

168 sap.com/*ecure* This displays the AS Java components of Secure Login Server. 4. Choose Action Stop or Action Start for stopping and starting. 5.4 Migrating Secure Login Server 2.0 from 1.0 The following section describes how you migrate Secure Login Server 2.0 from 1.0. The migration depends on the client and on the login modules you use. After the installation of the Secure Login Server 2.0, the initial configuration wizard migrates the PKI of SAP NetWeaver Single Sign-On 1.0. The initialization wizard accesses the Secure Login Server global directory, which contains all the PKI information you need. It generates the PKI certificates and user certificates with the respective values automatically. You must simply confirm the relevant password of the PKI, and the Secure Login Administration Console of SAP Single Sign-On 2.0 accepts the PKI of the previous version. Prerequisites SAP NetWeaver Single Sign-On 1.0 and 2.0 are installed on separate servers. You have provided the respective PKI information of Secure Login Server 1.0 for the initial configuration wizard. For more information, see related link. You have executed the PKI migration during the initial configuration. For more information, see related link. You can migrate from SAP NetWeaver Single-Sign-On 1.0 to Secure Login 2.0. The migration comprises the Secure Login components Secure Login Server and Secure Login Client. Depending on which client (Secure Login Client or Secure Login Web Client) you use, migrate either Secure Login Server with Secure Login Client or Secure Login Server with Secure Login Web Client. The following topics describe a migration of Secure Login Server. You must migrate the policy configuration of the login modules for SAP NetWeaver Single Sign-On 1.0 to 2.0. Each login module of SAP NetWeaver Single Sign-On 1.0 was configured in the SAP NetWeaver Administrator, whereas some login modules for SAP Single Sign-On 2.0 have destinations. You set the parameters for the destinations in the Secure Login Administration Console or in SAP NetWeaver Administrator. The related link contains an overview of the login modules and the places where the configuration is executed. Tip For a migration, we recommend that you map the parameters for your previous version (SAP NetWeaver Single Sign-On 1.0) for the policy configuration according to the login module(s) you use. Copy the values of the parameters over wherever possible or enter the value in the respective format. The parameters and, in some cases, the value ranges for the configuration vary. So you must decide which value you want to use for SAP Single Sign-On 2.0. For more information, see the Application Help in under Application Help Function-Oriented View Security User Authentication and Single Sign-On Authentication Infrastructure AS Java Authentication Infrastructure Policy Configurations and Authentication Stacks SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

169 Related Information Initial Configuration [page 161] This section describes the modes that are possible for the initial configuration wizard. Overview of Login Modules Supported by SAP Single Sign-On 2.0 [page 169] This table contains the login modules, the login module names, and the location where the destinations are configured. Mapping of Parameters by Login Module [page 299] Table that maps policy configuration and login module parameters of SAP Single Sign-On 2.0 and 1.0. This table is useful when you migrate from SAP NetWeaver Single Sign-On 1.0 to 2.0. Transferring PKI Information to Secure Login Server [page 164] For migration purposes, you must make sure that the PKI information of Secure Login Server 1.0 is available for your migrated Secure Login Server 2.0. Importing Certificate Entries from a File [page 165] You can import entries for the root CA and/or the user CA during certificate management Overview of Login Modules Supported by SAP Single Sign-On 2.0 This table contains the login modules, the login module names, and the location where the destinations are configured. The following table contains an overview of the login modules that are available in SAP Single Sign-On 2.0. For some of them, you must configure destinations (in the Secure Login Administration Console or in the SAP NetWeaver Administrator). For more information about creating and configuring destinations in Secure Login Administration Console, see the corresponding documents in the related links. Table 22: Overview of Login Modules for SAP Single Sign-On 2.0 Login Module Login Module Name Destination Configured in SPNego login module SPNegoLoginModule (No destination required) LDAP login module SecureLoginModule20LDAP Secure Login Administration Console RADIUS login module SecureLoginModule20RADIUS Secure Login Administration Console ABAP login module SecureLoginModule20ABAP SAP NetWeaver Administrator Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 169

170 Login Module Login Module Name Destination Configured in SAP NetWeaver Application Server Java User Management Engine (UME). For more information on basic authentication, see SAP Help Portal for BasicPasswordLoginModule (No destination required) SAP NetWeaver. SAP Library: Function-Oriented View Security User Authentication and Single Sign- On Integration in Single Sign-On (SSO) Environments Using User ID and Password Authentication One-Time Password Authentication login module. It can be configured to support single-factor authentication or two-factor-authentication. For more information on One-Time Password Authentication, see the related link. TOTPLoginModule (No destination required) Related Information Creating Destinations [page 175] Managing Destinations [page 214] This topic explains how you configure destination for LDAP or RADIUS login modules. One-Time Password Authentication SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

171 5.4.2 Adding a Policy Configuration for SAP Single Sign-On 2.0 If you want to migrate from SAP NetWeaver Single Sign-On 1.0 to 2.0, you must first add a policy configuration, which contains login modules. Context If you want to migrate from SAP NetWeaver Single Sign-On 1.0 to 2.0, migrate the policy configuration of the Secure Login Server. The policy configuration contains several login module stacks. Procedure 1. Start the SAP NetWeaver Administrator. Example 2. Choose the Configuration tab. 3. Go to Authentication and Single Sign-On. 4. To add a policy configuration for a login module stack (for example, for LDAP) for SAP Single Sign-On 2.0, choose Add in the Authentication tab. 5. Enter the name of the policy configuration. 6. Choose the Create button. 7. To specify all the details of the policy configuration, choose Edit. 8. For choosing the relevant login module, go to the section Details of policy configuration below. 9. Choose the Add button. 10. Open the dropdown list in the Login Module Name column. Example For LDAP, select SecureLoginModule20LDAP. 11. Select the respective login module for SAP Single Sign-On 2.0. You find an overview of the login modules for SAP Single Sign-On 2.0 in the related link. 12. Set a flag to make sure that the authentication proceeds down the list to the next login module if authentication is not successful. 13. Go to the section Option of login module. This section contains all the parameters that are relevant for the configuration. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 171

172 Example You may find the parameters PasswordExpirationAttribute and PasswordExpirationGracePeriod in the options section. The related link explains the meaning of the parameters. 14. Copy the respective values from the previous login module and paste them into the parameters of the login module for SAP Single Sign-On Enter the name of the destination. For example in the case of an LDAP and RADIUS login module, you have to configure the destination in the Secure Login Administration Console. For more information, see related link that offers an overview of the login modules. 16. Choose the Properties tab. 17. Enter UserMappingMode and type in the value VirtualUser. This overrides the configuration of the User Management Engine. Results You have now configured the policy configuration with login modules for SAP Single Sign-On 2.0. What is still missing in this stage is the creation of an authentication profile pointing to the policy configuration and the destination configuration. Related Information Overview of Login Modules Supported by SAP Single Sign-On 2.0 [page 169] This table contains the login modules, the login module names, and the location where the destinations are configured. Parameters for the Policy Configuration [page 276] The policy configuration allows you to set parameters for the login modules Creating an Authentication Profile Pointing to a Policy Configuration An authentication profile in the Secure Login Administration Console serves as a pointer to the configuration of the login module. Context At this point, create an authentication profile that points to the relevant policy configuration in the SAP NetWeaver Administrator where the configuration of the login module is located (in the Authentication tab of the SAP NetWeaver Administrator) SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

173 To create and configure an authentication profile pointing to a policy configuration, proceed as follows: Procedure 1. Open the Secure Login Administration Console of SAP NetWeaver Single Sign-On You can also use the following short command: Example 2. To create a client authentication profile, choose Create. The wizard for configuring the new client authentication profile opens. 3. Enter the authentication profile and a description Tip We recommend that you use the name of the respective instance configuration of Secure Login Administration Console of SAP NetWeaver Single Sign-On 1.0. This name appears in the navigation tree of the Secure Login Administration Console of SAP NetWeaver Single Sign-On 1.0 (under Instance Management <instance_configuration_name>. If you enter an identical name, it is easy to identify which instance in SAP NetWeaver Single Sign-On 1.0 was migrated to which client authentication profile in SAP Single Sign-On Go to Authentication Profile Type. 5. Select the client you use. The following clients are possible: Secure Login Client Profile Secure Login Web Client Profile Note If you use a Secure Login Web Client profile, you find the client parameters in the related link. 6. In the parameter User Authentication, select the name of the policy configuration you created for SAP Single Sign-On Go to the User Authentication section. 8. Choose Use Policy Configuration. 9. Select the name of your policy configuration for SAP Single Sign-On 2.0 in the dropdown list. For more information, see the related link. Note You can access the policy configuration in the SAP NetWeaver Administrator if you choose the link Authentication and Single Sign-On. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 173

174 10. Choose Next to continue. The next step is the user certificate configuration. It comprises a number of user certificate parameters. For more information, see the related link to the user certificate parameters for Secure Login Server. Note The field User CA for Issuing User Certificates already contains a value for the user CA. You generated the value when you imported the PKI during initial configuration. For more information, see the related link. 11. Choose Next to continue. The Enrolment URL of SAP NetWeaver Single Sign-On 1.0 is already available. It is displayed split up in several columns. Consider that when Secure Login server is configured to allow only secure communication, you can only choose HTTPS protocol for the Enrolment URL. For more information, see the corresponding document in the related links. Caution Take care that the column Secure Login Client Version contains the value 1.0 for backward compatibility for Secure Login Client (Optional) If you use a proxy URL, copy the proxy URL over from SAP NetWeaver Single Sign-On 1.0. In SAP NetWeaver Single Sign-On 1.0, it is located in Instance Management <instance_profile> Client Configuration in the Profiles tab. Choose Edit to see the entire range of parameters. For more information, see the related link about the client configuration. Related Information Adding a Policy Configuration for SAP Single Sign-On 2.0 [page 171] If you want to migrate from SAP NetWeaver Single Sign-On 1.0 to 2.0, you must first add a policy configuration, which contains login modules. Initial Configuration [page 161] This section describes the modes that are possible for the initial configuration wizard. Parameters for Client Configuration [page 277] This topic contains the parameters for client authentication profiles. Configuring Secure Login Web Client Connections to SAP GUI [page 184] You can use the Secure Login Web Client to launch an SAP GUI connection using a configuration that, for example, does not use a local saplogon.ini configuration file. Parameters for Secure Login Web Client Configuration [page 281] This topic contains the Secure Login Web Client configuration parameters. Configuring Secure Communication [page 221] Secure Login Server can be configured to accept only HTTPS connections SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

175 5.4.4 Creating Destinations Context LDAP and RADIUS login modules require destinations in the Secure Login Administration Console. To create a destination, proceed as follows: Procedure 1. Open the Secure Login Administration Console. Example 2. Select the Destination Management tab. 3. Choose the Create button. The system prompts you to enter a destination name. 4. Enter the same destination name you specified in policy configuration. Provide a description of the destination. For more information, see the related link dealing with policy configuration. 5. Select the destination type from the list. LDAP Destination and RADIUS Destination are available. 6. Choose Next to continue. 7. Enter the relevant parameters. They vary depending on the destination type. A related link contains a mapping table sorted by login module. This table lists the parameter names for SAP Single Sign-On 2.0 and 1.0. a) You can set optional authentication parameters in the section below. (Optional, for LDAP login modules) You can set optional server authentication parameters in the section LDAP Server Authentication (Optional). Note Enter only the host name of the LDAP login module of SAP NetWeaver Single Sign-On 1.0 (SAP NetWeaver Administrator) in the field IP Address / Host Name. Do not enter ldap://. You find the host name in the login module of SAP NetWeaver Single Sign.On 1.0 in the options of the LDAP login module. Enter the port separately. When using ldap or ldaps, you need to have imported an LDAP server certificate to the trusted certificates into the Key Storage of SAP Single Sign-On. (Optional for RADIUS login modules) You can import a server message file delivered by RSA in the Advanced Configuration for RSA Authentication section. The imported file, which you used for SAP NetWeaver Single Sign-On 1.0, fills all the parameters with values you used in the previous version. 8. Choose Finish to complete the destination configuration. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 175

176 Results You have configured a destination in Secure Login Administration Console. Enter the name of the destination in the policy configuration. For more information about testing and managing the connection you created, see the corresponding document in the related links. Related Information Adding a Policy Configuration for SAP Single Sign-On 2.0 [page 171] If you want to migrate from SAP NetWeaver Single Sign-On 1.0 to 2.0, you must first add a policy configuration, which contains login modules. Mapping of Parameters by Login Module [page 299] Table that maps policy configuration and login module parameters of SAP Single Sign-On 2.0 and 1.0. This table is useful when you migrate from SAP NetWeaver Single Sign-On 1.0 to 2.0. Managing Destinations [page 214] This topic explains how you configure destination for LDAP or RADIUS login modules Setting the Enrollment URL for Secure Login Client During a migration, you must adapt the protocol of the enrollment URL in Secure Login Server. Context Each client authentication profile has its own enrollment URLs for communicating with the clients. If, for example you want to run Secure Login Client 1.0 clients with Secure Login Server 2.0, you must use the correct communication protocol. The enrollment URL for SAP Single Sign-On 2.0 has the following syntax: <Server host:port>/secureloginserver/slc2/dologin?profile=<profile uuid> <Server host:port>/secureloginserver/slc1/dologin?profile=<profile uuid> slc2 stands for the protocol for SAP Single Sign-On 2.0 and slc1 for 1.0. To configure the protocol in the enrollment URL, proceed as follows: Procedure 1. Start the Secure Login Administration Console of SAP Single Sign-On SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

177 Example 2. Choose the respective client authentication profile. 3. Go to the Secure Login Client Settings tab. 4. Choose Edit. 5. Go to the Enrollment URL section. You find the current enrollment URL split up into several parts. It consists of the Protocol, Host Name, Port, and Secure Login Client Version columns. If you use different clients, for example Secure Login Client 2.0 and 1.0, you must provide several enrollment URLs having different protocol versions. 6. Choose the Secure Login Client versions you want to use for your clients, for example Save your changes Configuring Actions at Policy Download This topic describes the actions that are possible after a policy download to Secure Login Client. Context Secure Login Server downloads the client policies to the clients at regular intervals. You determine certain actions that are launched after the policy download to Secure Login Client. In a migration context, it might make sense to keep the profile group configuration settings of Secure Login Server 1.0 and Secure Login Client 1.0 and, at the same time, download the profile group settings for Secure Login Server 2.0 to the clients. This means that both profile group configuration settings coexist (the profile group configuration of Secure Login Server 2.0 does not overwrite and thus wipe out the settings in the Secure Login Client. In this setup, you keep the old configuration of Secure Login Server 1.0 for fallback purposes. Procedure 1. Start the Secure Login Administration Console of SAP Single Sign-On Example 2. Go to Client Management Profile Groups 3. Select the profile group for which you want to download the policies to Secure Login Client. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 177

178 Note You find the parameters you download to the Secure Login Client in the Profile Group tab under the respective client authentication profile (including the assignment of SAP AS ABAP SNC names the client authentication is valid for). Go to the section Information for Client Authentication Profile Windows Authentication (SPNEGO) to see the parameters and the values. 4. Go to the General tab. 5. Choose the Edit button. For configuring the actions at policy download, use the parameters in the Actions at Policy Download section. For more information about the parameters, see related link. 6. Choose the field Action on SAP AS ABAP Application Settings. This parameter refers to the profile group configuration in the Secure Login Server. 7. Select Keep to preserve the profile group configuration of SPO SAP NetWeaver Single Sign-On 1.0 in Secure Login Server. 8. Choose the field Action on Client Settings. This parameter refers to the profile group configuration in the Secure Login Client. 9. Select Keep to preserve the profile group configuration of SAP NetWeaver Single Sign-On 1.0 in Secure Login Client. 10. Save your changes. Related Information Parameters for Downloading Policies Using Profile Groups [page 288] When you create a profile group from the client authentication profiles, you can specify some properties, such as protocol, host name, policy update interval, timeout, and actions after policy download Migration of Certificate User Mapping in the Secure Login Server This topic describes how you migrate certificate user mapping to SAP Single Sign-On 2.0. Prerequisites Certificate user mapping is available in SAP NetWeaver Single Sign-On 1.0 and is supposed to be migrated to SAP Single Sign-On 2.0. User mapping is only possible with LDAP or Active Directory server SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

179 Context The aim of the Secure Login Server user mapping is to adapt logon between Windows operation systems and an SAP environment. This is implemented by the fact that the Secure Logon Server issues a certificate with user information that is used by other applications. It conveys only user information, not necessarily a user name. This means that you do not need a user-to-user mapping, but the information in the certificate makes sure that the authentication request of a certain user are accepted. The application recognizes the information and uses it to map to a certain user. User mapping is possible in the following applications: LDAP OpenLDAP User Management Engine Microsoft Active Directory ABAP login module SPNego login module RSA RADIUS We recommend that you run SAP Single Sign-On 2.0 in parallel with a Secure Login Administration Console of SAP NetWeaver Single Sign-On 1.0. You must define an LDAP destination. For more information, see related link. Enter the optional parameters in the section LDAP Server Authentication (Optional) of the Destination Management. Proceed as follows: Procedure 1. Open the Secure Login Administration Console Select the Destination Management tab. 3. Go to the Settings tab. 4. Choose the Edit button. 5. Go to the LDAP Server Authentication (Optional) section. 6. Enter values for the parameters. You need to specify the LDAP search base DN and the service user name. Entering a password is optional. 7. Save your changes. For more information on the parameters, see related link. You find a mapping of parameters for destination management in the related link. 8. Go through user logon ID mapping in the user certificate configuration of the client authentication profile and enter the parameters you need. For more information, see the related link. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 179

180 9. (Optional) If you want to use user logon ID padding, enter the required values from SAP NetWeaver Single Sign-On 1.0. For more information, see related link. Related Information Mapping of Parameters for Destination Management [page 304] Creating Destinations [page 175] Mapping of Parameters for User Certificate Attribute Configuration [page 304] During a migration, this table enables you to map the user certificate attributes from SAP Single Sign-On 2.0 with the user-defined property in SAP NetWeaver Single Sign-On 1.0. Parameters for Destination Management Configuration [page 296] Configure destinations if you use LDAP or RADIUS login modules or user logon ID mapping. Configuring the Certificate Attributes for User Mapping when Migrating Secure Login Server [page 181] This topic describes the certificate attribute configuration during a migration of Secure Login Server. Configuring User Logon ID Padding (Optional) in Secure Login Server [page 182] Example for Implementing Migrating User Mapping with Secure Login Server This is an example for user mapping migration with Secure Login Server using an LDAP user with an UME. You have an LDAP user and want to use it in the User Management Engine (UME) of an Application Server ABAP as well. You want to add further attributes to the certificate Distinguished Name, for example, address, AUTH:UPN, or AUTH:DCS. The user authenticates with Secure Login Server at an User Management Engine of an Application Server ABAP. The Secure Login Server connects to LDAP to get further attributes from the LDAP search base. These attributes are maintained in the Distinguished Name of the user certificate. A user logs on to Secure Login Server with user name and password. The Secure Login Server receives the user name and password in the authentication request and identifies the user. The Secure Login Server issues a certificate that contains information about the user, for example the address. Now the user authenticates with Secure Login Client or Secure Login Web Client at the SAP GUI. Using the User Maintenance (SU01 transaction) in the Application Server ABAP, you map the certificate Distinguished Name as SNC name. SAP GUI reads the user information (the address) that is sent with the certificate and identifies the appropriate SAP user SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

181 Note For more information, see SAP NetWeaver Library: Function-Oriented View Security Network and Transport Layer Security Transport Layer Security on the AS ABAP Secure Network Communication Configuring SNC on AS ABAP User Maintenance on AS ABAP in the SAP Help Portal Configuring the Certificate Attributes for User Mapping when Migrating Secure Login Server This topic describes the certificate attribute configuration during a migration of Secure Login Server. Context The Certificate Attribute Configuration contains all the attributes that are transferred from the Secure Login Server to the Secure Login Client. In Instance Management, SAP NetWeaver Single Sign-On 1.0 only offered a user-defined property called DN, which could be used for static entry of a Distinguished Name for LDAP and SPNego profiles. The user certificate attribute configuration of SAP Single Sign-On 2.0 is much more flexible than the user-defined property DN. Procedure Go to Certificate Attribute Configuration. This section contains the certificate attributes that are passed on in the certificate when a client or a Secure Login Client authenticates. 2. Activate the checkbox Enable User Logon ID Padding. This displays the user logon ID padding parameters. 3. Choose the corresponding instance in Secure Login Administration Console of SAP NetWeaver Single Sign- On 1.0 and memorize the values of the user-defined property. 4. Enter the values from SAP NetWeaver Single Sign-On 1.0 into the parameters wherever possible using the appropriate format. 5. Save your changes. For more information about which parameters of SAP Single Sign-On 2.0 correspond to those in 1.0, see the related link. Related Information Parameters for Certificate Attribute Configuration [page 293] These are the parameters for the certificate attributes for user mapping the Secure Login Server passes on to the Secure Login Client. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 181

182 Mapping of Parameters for User Certificate Attribute Configuration [page 304] During a migration, this table enables you to map the user certificate attributes from SAP Single Sign-On 2.0 with the user-defined property in SAP NetWeaver Single Sign-On Configuring User Logon ID Padding (Optional) in Secure Login Server Context The optional user logon ID padding is also transferred from the Secure Login Server to the Secure Login Client. In Instance Management, SAP NetWeaver Single Sign-On 1.0 only offered user-defined properties for padding character, padding length, and maximum length. Prerequisite You have set the common name to PADDEDNAME in the certificate attribute configuration. Procedure 1. Go to User Logon ID Padding (Optional). This section contains the padding parameters that are passed on in the certificate when a client or a Secure Login Client authenticates. 2. Activate the checkbox Enable User Logon ID Padding. This displays the user logon ID padding parameters. 3. Choose the corresponding instance in Secure Login Administration Console of SAP NetWeaver Single Sign- On 1.0 and memorize the values of the respective user-defined properties. 4. Enter the values from SAP NetWeaver Single Sign-On 1.0 into the parameters wherever possible using the appropriate format. 5. Save your changes. For more information about the user logon ID padding parameters, see Parameters for User Logon Padding. For migration purposes, see also Mapping of Parameters for User Logon ID Padding. 5.5 Secure Login Web Client Secure Login Web Client is a feature of the Secure Login Server that is a Web-based solution for the authentication of users in Web browsers (in portal scenarios) on a variety of platforms and for launching SAP GUI with SNC. You can use the Secure Login Web Client to start an SAP GUI with a connection type you configure as post authentication action without using a saplogon.ini configuration file. The Secure Login Web Client provides SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

183 short-term certificates to employees. You also use it for authentication against SAP NetWeaver Application Server. This means that the client is no longer limited to Microsoft Windows, but Mac OS X based client systems can be used as well. Note Differences between Secure Login Client and Secure Login Web Client: With Secure Login Client the required security library is available. With Secure Login Web Client the security library needs to be downloaded in a Web browser application. With Secure Login Client, the authentication process and secure communication can be triggered on demand (for example, in SAP GUI). The Secure Login Web Client triggers an authentication process and secure communication. After the authentication process, the Secure Login Web Client starts the SAP GUI. As post authentication action, you can redirect to another web page which needs secure authentication, for example, SAP Enterprise Portal. Moreover, the Secure Login Web Client can reuse existing security browser sessions, for example, convert already existing browser sessions for using SSL client authentication with X.509 certificates or start SAP GUI without any user interaction. The following main features are available: Browser-based authentication (including support of all authentication servers) Support for SAP GUI for Microsoft Windows and SAP GUI for Java. For more information, see the related link. Certificate store support for Microsoft Internet Explorer and Mozilla Firefox browser on Microsoft Windows Support for MAC OS X Keychain. URL redirect X.509 authentication support to SAP application server Localization and customization of HTML pages and applet messages Related Information Configuring Secure Login Web Client Connections to SAP GUI [page 184] You can use the Secure Login Web Client to launch an SAP GUI connection using a configuration that, for example, does not use a local saplogon.ini configuration file. Parameters for Secure Login Web Client Configuration [page 281] This topic contains the Secure Login Web Client configuration parameters. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 183

184 5.5.1 Configuring Secure Login Web Client Connections to SAP GUI You can use the Secure Login Web Client to launch an SAP GUI connection using a configuration that, for example, does not use a local saplogon.ini configuration file. Context Configure the way you want your Secure Login Web Client to start an SAP GUI. You do so by defining the post authentication actions of the Secure Login Web Client and the relevant parameters. Only one connection action is possible per Secure Login Web Client profile. Procedure 1. Start the Secure Login Administration Console. 2. Choose the relevant client authentication profile. 3. Select the Secure Login Web Client Settings tab. 4. Using the Post Authentication Actions section, choose the action you want to use. As an option for the connection types for direct connection, load balanced connection, and SAP logon pad, you can also define that the Secure Login Web Client redirects to a given URL after successful authentication. Several types of connections to SAP GUI are available. For more information, see the related links. Simple redirect to URL Direct connection with Secure Login Web Client (Redirect to URL option also available) Load-balanced SAP GUI connection using the message server (Redirect to URL option also available) Launching your SAP logon pad directly (Redirect to URL option also available) 5. Save your configuration. 6. Expand the tray Web Client URL. The URL field contains the URL you use to start the Secure Login Web Client. The client authentication profile generates the web client URL automatically. 7. Select the web client URL and copy it to your clipboard. 8. Start the Secure Login Web Client. The start of the Secure Login Web Client is profile-dependent. The GUID identifies your client authentication profile. To start the Secure Login Web Client, use the URL you copied to your clipboard. It already contains the profile (GUID), which is the last element of the URL. profile=<guid> Example: webclient.html?profile=cd468f6c-ff00-f d e SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

185 Related Information Connection with Redirect to URL [page 185] Enter a URL for certificate-based login. After successful user authentication, this URL is called. Direct SAP GUI Connection with Secure Login Web Client [page 185] A direct connection to an SAP GUI (ABAP) under Microsoft Windows uses the SAP GUI description to address the ABAP server. Load-Balanced SAP GUI Connection with Secure Login Web Client (Using the Message Server) [page 187] You can use the Secure Login Web Client to launch a load-balanced SAP GUI connection using a configuration that, for example, does not use a local saplogon.ini configuration file. Launch SAP Logon Pad [page 188] You can also launch a direct connection with your SAP Logon Pad by configuring the following postauthentication actions Connection with Redirect to URL Enter a URL for certificate-based login. After successful user authentication, this URL is called. You can use this URL to configure a location where SSL client-based authentication with the enrolled X.509 certificate is required, for example, in the SAP Enterprise Portal. Choose the action Redirect to URL and enter the relevant URL in the mandatory field. Table 23: Post Authentication Actions Action Parameters * Redirect to URL Enter the URL to which the Secure Login Web Client is redirected after successful authentication, for example, to an enterprise portal Direct SAP GUI Connection with Secure Login Web Client A direct connection to an SAP GUI (ABAP) under Microsoft Windows uses the SAP GUI description to address the ABAP server. You can combine a connection action with a URL redirect, which allows you to leave the Secure Login Web Client page after successful authentication. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 185

186 Table 24: Post Authentication Actions Actions Parameters Connection String Log On to ABAP System IP Address/Host Name IP address or fully qualified host name of the ABAP System. (We recommend that you use host names). SAP GUI starts with the connection string /H/<host>. /H/<host> * Port Port of ABAP server: Default is SAP GUI starts with the connection string /S/<port>. /S/<port> SNC Name SNC name of ABAP server. SAP GUI starts with SNC_PARTNERNAME SNC_PARTNERNAME=<SNC_name> Example p:cn=abap System Redirect to URL and Log On to ABAP System * Redirect to URL Enter the URL to which the Secure Login Web Client is redirected after successful authentication, for example, to an enterprise portal. Optional Parameters SAP GUI Description Name of the server profile in SAP GUI for Microsoft Windows (Description field in SAP GUI). If you are using SAP GUI for Microsoft Windows, you need to enter the SAP GUI description to enable direct logon to an ABAP system. This means that you need the <saplogon.ini> file with the respective entry SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

187 Load-Balanced SAP GUI Connection with Secure Login Web Client (Using the Message Server) You can use the Secure Login Web Client to launch a load-balanced SAP GUI connection using a configuration that, for example, does not use a local saplogon.ini configuration file. Moreover, you profit from the load balancing function of the message server. Example If you want to have a load-balanced connection using the message server, start the Secure Login Web Client with the following connection string: /M/<host_name>/S/<service>/G/<group> You can also configure the Secure Login Web Client to redirect to a given URL after successful authentication. To configure the post authentication actions, go to your client authentication profile. Table 25: Post Authentication Actions Actions Parameters Connection String Log On to ABAP Message Server Message Server IP address or fully qualified host name of the ABAP Message Server. SAP GUI starts with an /M/host connection string. * Message Server Service The service (port) that identifies this service. /M/<host> /S/<port> * Group The ABAP group. SAP GUI starts with a /G/<group> connection string. /G/<group> Redirect to URL and Log On to ABAP Message Server * Redirect to URL Enter the URL the Secure Login Web Client is redirected to after successful authentication, for example, to an enterprise portal. Optional Parameters Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 187

188 Actions Parameters Connection String SAP GUI Description Restriction This parameter is only relevant for SAP GUI (ABAP) for Microsoft Windows. SAP GUI for Java ignores this field. We recommend that you leave this field empty. Name of the server profile in SAP GUI for Microsoft Windows (Description field in SAP GUI). If you are using SAP GUI for Microsoft Windows, you need to enter the SAP GUI description to enable direct logon to an ABAP system. This means that you need the <saplogon.ini> file with the respective entry. Gateway Host /H/<host> Specifies the SAP router for the connection to the ABAP server. SAP GUI starts with an /H/<host> connection string. Gateway Port /S/<port> Specifies the port of the SAP router. SAP GUI starts with an /S/<port> connection string Launch SAP Logon Pad You can also launch a direct connection with your SAP Logon Pad by configuring the following post-authentication actions. You can also configure that the Secure Login Web Client redirects to a given URL after successful authentication. Table 26: Post Authentication Actions Action Parameter Launch SAP Logon Pad SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

189 Action Redirect to URL and Launch SAP Logon Pad Parameter * Redirect to URL Enter the URL to which the Secure Login Web Client is redirected after successful authentication, for example, to an enterprise portal Using Secure Login Client in Web Adapter Mode The key management of Secure Login Client in Web Adapter mode is highly secure. Web Adapter mode ensures a high security level because it enables the Secure Login Client to manage private keys for Secure Login Web Client. However, the client system does not store the keys persistently, but they are temporarily stored in a secure way in the memory of the clients. The SNC and key management libraries are not downloaded. When the Secure Login Client user has restarted or logged out, the Secure Login Client removes all Single Sign-On keys. Web Adapter mode also enables you to use a logout function in the Secure Login Client. Prerequisites You have installed Secure Login Client with Secure Login Server Support. If you configured a Secure Login Web Client profile in the Secure Login Administration Console, you can, after the enrollment, choose a Secure Login Web Client profile, which you can use for SNC in the Secure Login Client. This profile is not persistent. It is only available after an enrollment and for the client session. Related Information Secure Login Client Installation [page 26] This section explains the installation and the installation options of the Secure Login Client Configuring Web Adapter Mode for Secure Login Client Procedure 1. Open the Secure Login Administration Console. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 189

190 2. Choose the relevant client authentication profile. 3. Go to Secure Login Web Client Settings. 4. Expand the Client Behavior section. 5. Choose Edit. 6. Activate Web Adapter Mode (requires Secure Login Client installation). Web Adapter mode is immediately active after changing the configuration for the next web client enrollment on this profile Enabling SAP GUI to Use Credentials with Secure Login Web Client Prerequisites You want to enable the Secure Login Web Client to perform authentication and create local credentials that are used by SAP GUI on Microsoft Windows platforms. To enable Secure Login Web Client to make an SNC connection to SAP GUI, you can use multiple connection modes. Secure Login Client is not installed on your Microsoft Windows client. Secure Login Web Client uses the following path for downloading the SNC libraries from Secure Login Server: %LOCALAPPDATA%\sapsnc\ (can be changed in Platform Binaries Download Path in client authorization profile with Secure Login Web Client Settings. Secure Login Client is installed on your Microsoft Windows client with the Secure Login Server Support option. Secure Login Web Client uses the following path for downloading the SNC libraries from Secure Login Server: Secure Login Web Client uses the Secure Login Client installation path for the SNC connection. You have activated Web Adapter Mode in the Client Behavior section. Secure Login Web Client uses the Secure Login Client installation path for the SNC connection. You have not activated Web Adapter Mode in the Client Behavior section. In this case, the Secure Login Web Client uses the following path for downloading the SNC libraries from Secure Login Server: %LOCALAPPDATA%\sapsnc\ Secure Login Client is installed on your Microsoft Windows client without the Secure Login Server Support option. Secure Login Web Client uses the following path for downloading the SNC libraries from Secure Login Server: %LOCALAPPDATA%\sapsnc\ Security Features of Secure Login Web Client The following features are designed to improve security of the Secure Login Web Client: Forced use of HTTPS SAP-signed Secure Login Web Client JAR package to protect SNC libraries PKI check before storing in Microsoft Certificate store (for Microsoft Windows only) Removal of certificates by users SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

191 Related Information Forced Use of HTTPS [page 191] SAP-Signed Secure Login Web Client JAR Package to Protect SNC Libraries [page 192] PKI Check before Storing in a Client Certificate Store [page 193] You must have established a trust relationship for the Secure Login Web Client. Removing Certificates of the Secure Login Web Client [page 194] You have started a Secure Logon Web Client session and signed on. The Secure Login Server provides a certificate for this session. When this sessions ends, you remove the certificate Forced Use of HTTPS It is mandatory to use the HTTPS protocol. With HTTPS, data and passwords are transported in a secured way. The trust relationship is established between the trust store of the browser and the SAP NetWeaver Key Storage. If someone tries to bypass HTTPS, the connection is terminated, and an error occurs. Note The Secure Login Web Client needs an SSL connection with the Secure Login Server. When communicating with the Secure Login Server, it must use server authentication without client authentication. You can disable client authentication in the SAP NetWeaver Administrator Configuration SSL SLL Access Points Client Authentication Mode column by setting the value Do Not Request. If SSL is not enabled in the clients, they get an SSL-related warning in the browser. To avoid trust warnings on the clients' browsers, enable SSL on the clients, you must export the SSL CA root in the SAP NetWeaver Administrator. In a Microsoft Windows environment, use utilities of the domain controller to distribute the SSL CAs to your clients. Related Information Importing CAs or Certificates into the SAP NetWeaver Key Storage [page 192] Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 191

192 Importing CAs or Certificates into the SAP NetWeaver Key Storage Context To establish a trust relationship with the SAP NetWeaver Application Server, you import your CA certificate of the LDAP server into the Key Storage of SAP NetWeaver Application Server. Take the following steps: Procedure 1. Start SAP NetWeaver Administrator. 2. Go to the Configuration tab. 3. Choose Views in Certificates and Keys. 4. Select Key Storage. 5. Select the Key Storage view TrustedCAs. You display the details of the TrustedCAs view in the View Entries tab. 6. Choose Import Entry. 7. Select the file format of your CA certificate. 8. Browse to your file. 9. To import your file, choose Import. Results You have now established a trust relationship by having imported CAs or certificates files. For more information, see the SAP Help Portal under SAP NetWeaver Library: Function-Oriented View Security Security System Security System Security for AS Java Only Using the AS Java Key Storage SAP-Signed Secure Login Web Client JAR Package to Protect SNC Libraries To make sure that the files on the server and on the client are not manipulated, an SHA-256 checksum is in place. It prevents a manipulation of the SNC libraries on the side of the client and of the server SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

193 The SAP signature in the JAR file of the Secure Login Web Client applet protects the SHA-256 checksums against manipulation attempts. This makes sure that the SNC libraries are identical with those delivered in the Secure Login Server package. During a download of a Secure Login Web Client package there is a check of the local files that verifies whether the native SNC libraries have already been downloaded even before the package is written to the hard disk. If the verification of the checksum fails, the files are deleted, and new files are downloaded from the server PKI Check before Storing in a Client Certificate Store You must have established a trust relationship for the Secure Login Web Client. Context Note This section only refers to Microsoft Windows and Mac OS operating systems. To avoid that already valid enrolled keys and certificates are being overwritten with invalid ones from an untrustworthy Secure Login Server, the system performs a PKI check before keys and certificates are stored or overwritten in the Microsoft certificate store and in the local PSE file. To enable a PKI check, you must set a trust anchor in the clients. Procedure 1. Import the root CAs from the user CA of the Secure Login Server in the trusted root Certification Authorities. 2. Distribute the trust anchors that are used by your client authentication profiles, which are responsible for your clients. Use Microsoft or Mac OS utilities to import the trusted root CAs into the clients' certificate stores or login/system Keychain and to set a trust relationship. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 193

194 Removing Certificates of the Secure Login Web Client You have started a Secure Logon Web Client session and signed on. The Secure Login Server provides a certificate for this session. When this sessions ends, you remove the certificate. Context Every time you start the Secure Login Web Client and enroll for a certificate, the Secure Login Web Client gets a certificate from the Secure Login Server. This certificate is available as long as you are running this session. You manually remove the certificate, for example from Microsoft Store, by choosing the Sign Off button, by closing your browser window, or by re-enrolling. Procedure To remove the certificate for a running Secure Login Web Client session, use one of the following options: Choose the Sign Off button. Close the browser window of the Secure Login Web Client. Re-enroll You have removed your certificate. Choosing Back to Sign-On Page takes you back to a Secure Login Web Client window where you can perform a new enrollment Removing Certificates in Web Clients with JavaScript Functions These JavaScript functions enable you to remove X.509 certificates for web clients from the Microsoft Crypto Store or from the Apple OS X Keychain. Context The Secure Login Server provides a JavaScript API in the default Secure Login Web Client. When the Secure Login Web Client loads, it gets the JavaScript files and makes JavaScript functions available in the browser. You can use them in your own, customized web client implementations. You can use web clients that are integrated into your own customized HTML page with integrated Single Sign-On functions, for example, in an iview in a portal web client environment. To support the sign-off function, you need to activate the following JavaScript functions that are provided in your own web client page SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

195 Table 27: JavaScript Functions for Removing X.509 Certificates JavaScript Function in securelogin.js seclogin.isslclogoutavailable() JavaScript section: seclogin.dologout() seclogin.startbrowsermonitor() Description This JavaScript function checks whether the sign-off feature is available. It is active in the default web client. This JavaScript function is the implementation of signoff. It is active in the default client with the Sign Off button. (Optional) This JavaScript function performs a sign-off after the last browser window has been closed or when the computer is shutting down. Integrate this Java Script function into your own web client. The Java Script function is not active in the default web client. Restriction This feature is only supported on Microsoft Windows platforms with Microsoft Internet Explorer, Mozilla Firefox, and Google Chrome. To use the JavaScript functions, proceed as follows: Procedure 1. Create your own HTML page for your customized web client implementation. 2. Build your HTML page using iviews. For more information, see the SAP NetWeaver Library: Function- Oriented View Enterprise Portal Portal Managing the Portal Creating and Editing iviews. 3. Implement the JavaScript function aftercreatecredentials(okmsg.oktype). This function becomes effective when the credentials have been successfully created. Use the following code example as a template for your own implementations. The example shows a minimum implementation. If you want, you can integrate further items, for example a Sign Off button. Example <HTML> <HEAD> <TITLE>Secure Login Web Client</TITLE> <META content="text/javascript" http-equiv=content-script-type> <META content= "text/html; charset=utf-8" http-equiv=content-type> <META http-equiv='pragma' content='no-cache'> <!-- include JQuery and SecureLogin Core --> <SCRIPT type= "text/javascript" src= "jquery.min.js"></script> <!-- include Default webclient stylesheets --> <LINK rel= "stylesheet" type= "text/css" href= "webclient.css"> Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 195

196 <SCRIPT language= "javascript" > } //Callback function after successful CredentialCreation function aftercreatecredentials(okmsg,oktype) { // needed for showing success button seclogin.onviewchange( "SSO"); seclogin.onstatuschange(okmsg, oktype); // optional actions seclogin.startbrowsermonitor(); // start configured post-authentication actions seclogin.startsapapplication(); $(document).ready(function() { $('head').append('<script type= "text/javascript" src= "securelogin.js? version=' + new Date().getTime() + '" />'); }); $('#startsap').hide(); seclogin.initpages(); seclogin.initcontainer( "#AppletContainer"); </SCRIPT> </HEAD> <BODY class= "prtlbody urfontbasefam urscrl"> <SPAN id= "UMELogon"> <DIV class= "urlogondata"> <FORM id= "SNCForm1" method= "POST" name= "SNCForm1" AUTOCOMPLETE= "off" action= "/SecureLogin/login"> <TABLE class= "urlogontable" cellspacing= "3" cellpadding= "0" valign= "top"> <TBODY> <TR> <TD colspan= "3"> <DIV class= "urmessagearea" id= "MessageArea"> </DIV> </TD> </TR> <TR> <TD colspan= "3"> <!-- Authentication Table --> <TABLE cellspacing= "3" cellpadding= "0" valign= "top" id= "PageAuth" style= "display: none"> <TBODY> <TR> <TD><LABEL class= "urlblstdnew"><nobr>user<span class= "urlblreq"> *</ SPAN></NOBR></LABEL> </TD> <TD><INPUT style= "WIDTH: 170px" id= "un" class= "uredftxtenbl" title= "User *" name= "j_username"> </TD> <TD width= "100%"> </TD> </TR> <TR> <TD><LABEL class= "urlblstdnew" for=logonpassfield><nobr>password<span class=urlblreq> *</SPAN></NOBR></LABEL> </TD> <TD><INPUT style= "WIDTH: 170px" id= "pw" class= "uredftxtenbl" title= "Password *" value= "" SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

197 type="password " name="j_password"> </TD> <TD> </TD> </TR> <TR> <TD> </TD> <TD align=right><input class= "urbtnstdnew" value= "Sign On" type= "submit" name= "uidpasswordlogon" id = "logon"> </TD> <TD> </TD> </TR> <input type= "hidden" name= "j_salt" id= "j_salt" /> </TBODY> </TABLE> </TABLE> </TBODY> </FORM> </DIV> </SPAN> <DIV id= "AppletContainer"> </DIV> </BODY> </HTML> Mozilla Firefox Plug-In for Storing Secure Login User Certificates Mozilla Firefox stores the certificate in the browser's certificate store using the plug-in of Secure Login Web Client. After successful user authentication, the Secure Login Web Client stores, the certificate in the Microsoft Certificate Store. The same function is provided for the Mozilla Firefox browser Install Firefox Extension Firefox Extension for Secure Login Web Client Prerequisites You have installed Firefox Extension XPI. The Firefox Extension is provided by the Secure Login Server and can be downloaded using the following URL: Browser and operating system are recognized automatically. Secure Login Server 2014 SAP SE or an SAP affiliate company. All rights reserved. 197

198 Procedure 1. Install the Firefox extension. If your Mozilla Firefox browser does not open an extension installation dialog, but only allows you to save this file, you have the following choices: Choose the option Open with and choose the Mozilla Firefox application. Save the file to your Desktop, then drag and drop it into any Firefox window. Ask your Web portal administrator to add a new MIME type application/x-xpinstall for XPI files. 2. Install the Firefox Extension by choosing Install Now. 3. Restart Mozilla Firefox SAP SE or an SAP affiliate company. All rights reserved. Secure Login Server

Enabling SSL and Client Certificates on the SAP J2EE Engine

Enabling SSL and Client Certificates on the SAP J2EE Engine Enabling SSL and Client Certificates on the SAP J2EE Engine Angel Dichev RIG, SAP Labs SAP AG 1 Learning Objectives As a result of this session, you will be able to: Understand the different SAP J2EE Engine

More information

SAP Single Sign-On 2.0 Overview Presentation

SAP Single Sign-On 2.0 Overview Presentation SAP Single Sign-On 2.0 Overview Presentation March 2016 Public Agenda SAP security portfolio Overview SAP Single Sign-On Single sign-on main scenarios Capabilities Summary 2016 SAP SE or an SAP affiliate

More information

USER GUIDE WWPass Security for Email (Outlook) For WWPass Security Pack 2.4

USER GUIDE WWPass Security for Email (Outlook) For WWPass Security Pack 2.4 USER GUIDE WWPass Security for Email (Outlook) For WWPass Security Pack 2.4 March 2014 TABLE OF CONTENTS Chapter 1 Welcome... 4 Introducing WWPass Security for Email (Outlook)... 5 Supported Outlook Products...

More information

SAP NetWeaver Single Sign-On. Product Management SAP NetWeaver Identity Management & Security June 2011

SAP NetWeaver Single Sign-On. Product Management SAP NetWeaver Identity Management & Security June 2011 NetWeaver Single Sign-On Product Management NetWeaver Identity Management & Security June 2011 Agenda NetWeaver Single Sign-On: Solution overview Key benefits of single sign-on Solution positioning Identity

More information

PUBLIC Password Manager for SAP Single Sign-On Implementation Guide

PUBLIC Password Manager for SAP Single Sign-On Implementation Guide SAP Single Sign-On 2.0 SP1 Document Version: 1.0 2015-10-02 PUBLIC Password Manager for SAP Single Sign-On Implementation Guide Content 1 Password Manager....4 2 Password Manager Installation Guide....5

More information

Angel Dichev RIG, SAP Labs

Angel Dichev RIG, SAP Labs Enabling SSL and Client Certificates on the SAP J2EE Engine Angel Dichev RIG, SAP Labs Learning Objectives As a result of this session, you will be able to: Understand the different SAP J2EE Engine SSL

More information

How to Implement the X.509 Certificate Based Single Sign-On Solution with SAP Netweaver Single Sign-On

How to Implement the X.509 Certificate Based Single Sign-On Solution with SAP Netweaver Single Sign-On How to Implement the X.509 Certificate Based Single Sign-On Solution with SAP Netweaver Single Sign-On How to implement the X.509 certificate based Single Sign-On solution from SAP Page 2 of 34 How to

More information

SAP Web Application Server Security

SAP Web Application Server Security SAP Web Application Server Security HELP.BCSECSWAPPS Release 6.10 Document Version 1.4 01/15/02 Copyright Copyright 2001 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted

More information

Secure IIS Web Server with SSL

Secure IIS Web Server with SSL Secure IIS Web Server with SSL EventTracker v7.x Publication Date: Sep 30, 2014 EventTracker 8815 Centre Park Drive Columbia MD 21045 www.eventtracker.com Abstract The purpose of this document is to help

More information

How-To Guide SAP NetWeaver Document Version: 1.0-2013-12-22. How To Guide - Configure SSL in ABAP System

How-To Guide SAP NetWeaver Document Version: 1.0-2013-12-22. How To Guide - Configure SSL in ABAP System How-To Guide SAP NetWeaver Document Version: 1.0-2013-12-22 Document History Document Version Description 1.0 First official release of this guide Document History 2013 SAP AG or an SAP affiliate company.

More information

Sophos Mobile Control Installation guide

Sophos Mobile Control Installation guide Sophos Mobile Control Installation guide Product version: 2.5 Document date: July 2012 Contents 1 Introduction... 3 2 The Sophos Mobile Control server... 4 3 Set up Sophos Mobile Control... 13 4 Running

More information

Shakambaree Technologies Pvt. Ltd.

Shakambaree Technologies Pvt. Ltd. Welcome to Support Express by Shakambaree Technologies Pvt. Ltd. Introduction: This document is our sincere effort to put in some regular issues faced by a Digital Signature and USB Token user doing on

More information

Installation and Configuration Guide

Installation and Configuration Guide Entrust Managed Services PKI Auto-enrollment Server 7.0 Installation and Configuration Guide Document issue: 1.0 Date of Issue: July 2009 Copyright 2009 Entrust. All rights reserved. Entrust is a trademark

More information

Setting Up SSL on IIS6 for MEGA Advisor

Setting Up SSL on IIS6 for MEGA Advisor Setting Up SSL on IIS6 for MEGA Advisor Revised: July 5, 2012 Created: February 1, 2008 Author: Melinda BODROGI CONTENTS Contents... 2 Principle... 3 Requirements... 4 Install the certification authority

More information

Sophos Mobile Control Installation guide. Product version: 3.5

Sophos Mobile Control Installation guide. Product version: 3.5 Sophos Mobile Control Installation guide Product version: 3.5 Document date: July 2013 Contents 1 Introduction...3 2 The Sophos Mobile Control server...4 3 Set up Sophos Mobile Control...10 4 External

More information

DIGIPASS CertiID. Getting Started 3.1.0

DIGIPASS CertiID. Getting Started 3.1.0 DIGIPASS CertiID Getting Started 3.1.0 Disclaimer Disclaimer of Warranties and Limitations of Liabilities The Product is provided on an 'as is' basis, without any other warranties, or conditions, express

More information

Step-by-Step guide for SSO from MS Sharepoint 2010 to SAP EP 7.0x

Step-by-Step guide for SSO from MS Sharepoint 2010 to SAP EP 7.0x Step-by-Step guide for SSO from MS Sharepoint 2010 to SAP EP 7.0x Sverview Trust between SharePoint 2010 and ADFS 2.0 Use article Federated Collaboration with Shibboleth 2.0 and SharePoint 2010 Technologies

More information

NSi Mobile Installation Guide. Version 6.2

NSi Mobile Installation Guide. Version 6.2 NSi Mobile Installation Guide Version 6.2 Revision History Version Date 1.0 October 2, 2012 2.0 September 18, 2013 2 CONTENTS TABLE OF CONTENTS PREFACE... 5 Purpose of this Document... 5 Version Compatibility...

More information

IBM Security Access Manager for Enterprise Single Sign-On Version 8.2.1. User Guide IBM SC23-9950-05

IBM Security Access Manager for Enterprise Single Sign-On Version 8.2.1. User Guide IBM SC23-9950-05 IBM Security Access Manager for Enterprise Single Sign-On Version 8.2.1 User Guide IBM SC23-9950-05 IBM Security Access Manager for Enterprise Single Sign-On Version 8.2.1 User Guide IBM SC23-9950-05

More information

Ensure that your environment meets the requirements. Provision the OpenAM server in Active Directory, then generate keytab files.

Ensure that your environment meets the requirements. Provision the OpenAM server in Active Directory, then generate keytab files. This chapter provides information about the feature which allows end users to log into a Windows client machine on a Windows domain, then use certain Cisco Unified Communications Manager applications without

More information

Clientless SSL VPN Users

Clientless SSL VPN Users Manage Passwords, page 1 Username and Password Requirements, page 3 Communicate Security Tips, page 3 Configure Remote Systems to Use Clientless SSL VPN Features, page 3 Manage Passwords Optionally, you

More information

Administration Guide. BlackBerry Enterprise Service 12. Version 12.0

Administration Guide. BlackBerry Enterprise Service 12. Version 12.0 Administration Guide BlackBerry Enterprise Service 12 Version 12.0 Published: 2015-01-16 SWD-20150116150104141 Contents Introduction... 9 About this guide...10 What is BES12?...11 Key features of BES12...

More information

USER GUIDE WWPass Security for Windows Logon

USER GUIDE WWPass Security for Windows Logon USER GUIDE WWPass Security for Windows Logon December 2015 TABLE OF CONTENTS Chapter 1 Welcome... 3 Introducing WWPass Security for Windows Logon... 4 Related Documentation... 4 Presenting Your PassKey

More information

SAP NetWeaver AS Java

SAP NetWeaver AS Java Chapter 75 Configuring SAP NetWeaver AS Java SAP NetWeaver Application Server ("AS") Java (Stack) is one of the two installation options of SAP NetWeaver AS. The other option is the ABAP Stack, which is

More information

Configuring Security Features of Session Recording

Configuring Security Features of Session Recording Configuring Security Features of Session Recording Summary This article provides information about the security features of Citrix Session Recording and outlines the process of configuring Session Recording

More information

Certificates for computers, Web servers, and Web browser users

Certificates for computers, Web servers, and Web browser users Entrust Managed Services PKI Certificates for computers, Web servers, and Web browser users Document issue: 3.0 Date of issue: June 2009 Copyright 2009 Entrust. All rights reserved. Entrust is a trademark

More information

Entrust Managed Services PKI. Configuring secure LDAP with Domain Controller digital certificates

Entrust Managed Services PKI. Configuring secure LDAP with Domain Controller digital certificates Entrust Managed Services Entrust Managed Services PKI Configuring secure LDAP with Domain Controller digital certificates Document issue: 1.0 Date of issue: October 2009 Copyright 2009 Entrust. All rights

More information

SafeNet Authentication Client (Mac)

SafeNet Authentication Client (Mac) SafeNet Authentication Client (Mac) Version 8.2 SP2 Revision A Administrator s Guide 1 Copyright 2014 SafeNet, Inc. All rights reserved. All attempts have been made to make the information in this document

More information

DIGIPASS KEY series and smart card series for Juniper SSL VPN Authentication

DIGIPASS KEY series and smart card series for Juniper SSL VPN Authentication DIGIPASS KEY series and smart card series for Juniper SSL VPN Authentication Certificate Based 2010 Integration VASCO Data Security. Guideline All rights reserved. Page 1 of 31 Disclaimer Disclaimer of

More information

Single Sign On. Configuration Checklist for Single Sign On CHAPTER

Single Sign On. Configuration Checklist for Single Sign On CHAPTER CHAPTER 39 The single sign on feature allows end users to log into a Windows client machine on a Windows domain, then use certain Cisco Unified Communications Manager applications without signing on again.

More information

http://docs.trendmicro.com

http://docs.trendmicro.com Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice. Before installing and using the product, please review the readme files,

More information

Oracle Enterprise Single Sign-on Logon Manager. Installation and Setup Guide Release 11.1.1.2.0 E15720-02

Oracle Enterprise Single Sign-on Logon Manager. Installation and Setup Guide Release 11.1.1.2.0 E15720-02 Oracle Enterprise Single Sign-on Logon Manager Installation and Setup Guide Release 11.1.1.2.0 E15720-02 November 2010 Oracle Enterprise Single Sign-on Logon Manager, Installation and Setup Guide, Release

More information

Tenrox. Single Sign-On (SSO) Setup Guide. January, 2012. 2012 Tenrox. All rights reserved.

Tenrox. Single Sign-On (SSO) Setup Guide. January, 2012. 2012 Tenrox. All rights reserved. Tenrox Single Sign-On (SSO) Setup Guide January, 2012 2012 Tenrox. All rights reserved. About this Guide This guide provides a high-level technical overview of the Tenrox Single Sign-On (SSO) architecture,

More information

WHITE PAPER Citrix Secure Gateway Startup Guide

WHITE PAPER Citrix Secure Gateway Startup Guide WHITE PAPER Citrix Secure Gateway Startup Guide www.citrix.com Contents Introduction... 2 What you will need... 2 Preparing the environment for Secure Gateway... 2 Installing a CA using Windows Server

More information

Smartcard Logon Overview

Smartcard Logon Overview etoken for Windows Smartcard Logon Lesson 9 April 2004 etoken Certification Course Smartcard Logon Overview Windows 2000/2003 Enterprise Server built-in feature Smartcard logon requires issuing a personal

More information

Single Sign On. Configuration Checklist for Single Sign On CHAPTER

Single Sign On. Configuration Checklist for Single Sign On CHAPTER CHAPTER 39 The single sign on feature allows end users to log into a Windows client machine on a Windows domain, then use certain Cisco Unified Communications Manager applications without signing on again.

More information

Installation Guide for Pulse on Windows Server 2008R2

Installation Guide for Pulse on Windows Server 2008R2 MadCap Software Installation Guide for Pulse on Windows Server 2008R2 Pulse Copyright 2014 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software

More information

Authentication in XenMobile 8.6 with a Focus on Client Certificate Authentication

Authentication in XenMobile 8.6 with a Focus on Client Certificate Authentication Authentication in XenMobile 8.6 with a Focus on Client Certificate Authentication Authentication is about security and user experience and balancing the two goals. This document describes the authentication

More information

WhatsUp Gold v16.3 Installation and Configuration Guide

WhatsUp Gold v16.3 Installation and Configuration Guide WhatsUp Gold v16.3 Installation and Configuration Guide Contents Installing and Configuring WhatsUp Gold using WhatsUp Setup Installation Overview... 1 Overview... 1 Security considerations... 2 Standard

More information

Sophos Mobile Control Installation guide. Product version: 3

Sophos Mobile Control Installation guide. Product version: 3 Sophos Mobile Control Installation guide Product version: 3 Document date: January 2013 Contents 1 Introduction...3 2 The Sophos Mobile Control server...4 3 Set up Sophos Mobile Control...16 4 External

More information

VeriSign PKI Client Government Edition v 1.5. VeriSign PKI Client Government. VeriSign PKI Client VeriSign, Inc. Government.

VeriSign PKI Client Government Edition v 1.5. VeriSign PKI Client Government. VeriSign PKI Client VeriSign, Inc. Government. END USER S GUIDE VeriSign PKI Client Government Edition v 1.5 End User s Guide VeriSign PKI Client Government Version 1.5 Administrator s Guide VeriSign PKI Client VeriSign, Inc. Government Copyright 2010

More information

RSA Authentication Manager 8.1 Virtual Appliance Getting Started

RSA Authentication Manager 8.1 Virtual Appliance Getting Started RSA Authentication Manager 8.1 Virtual Appliance Getting Started Thank you for purchasing RSA Authentication Manager 8.1, the world s leading two-factor authentication solution. This document provides

More information

http://docs.trendmicro.com

http://docs.trendmicro.com Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice. Before installing and using the product, please review the readme files,

More information

YubiKey PIV Deployment Guide

YubiKey PIV Deployment Guide YubiKey PIV Deployment Guide Best Practices and Basic Setup YubiKey 4, YubiKey 4 Nano, YubiKey NEO, YubiKey NEO-n YubiKey PIV Deployment Guide 2016 Yubico. All rights reserved. Page 1 of 27 Copyright 2016

More information

RSA Authentication Agent 7.2 for Microsoft Windows Installation and Administration Guide

RSA Authentication Agent 7.2 for Microsoft Windows Installation and Administration Guide RSA Authentication Agent 7.2 for Microsoft Windows Installation and Administration Guide Contact Information Go to the RSA corporate web site for regional Customer Support telephone and fax numbers: www.rsa.com

More information

ADFS Integration Guidelines

ADFS Integration Guidelines ADFS Integration Guidelines Version 1.6 updated March 13 th 2014 Table of contents About This Guide 3 Requirements 3 Part 1 Configure Marcombox in the ADFS Environment 4 Part 2 Add Relying Party in ADFS

More information

NetIQ Advanced Authentication Framework - Administrative Tools. Installation Guide. Version 5.1.0

NetIQ Advanced Authentication Framework - Administrative Tools. Installation Guide. Version 5.1.0 NetIQ Advanced Authentication Framework - Administrative Tools Installation Guide Version 5.1.0 Table of Contents 1 Table of Contents 2 Introduction 3 About This Document 3 NetIQ Advanced Authentication

More information

Check Point FDE integration with Digipass Key devices

Check Point FDE integration with Digipass Key devices INTEGRATION GUIDE Check Point FDE integration with Digipass Key devices 1 VASCO Data Security Disclaimer Disclaimer of Warranties and Limitation of Liabilities All information contained in this document

More information

X.509 Certificate Generator User Manual

X.509 Certificate Generator User Manual X.509 Certificate Generator User Manual Introduction X.509 Certificate Generator is a tool that allows you to generate digital certificates in PFX format, on Microsoft Certificate Store or directly on

More information

RSA SecurID Ready Implementation Guide

RSA SecurID Ready Implementation Guide RSA SecurID Ready Implementation Guide Partner Information Last Modified: December 18, 2006 Product Information Partner Name Microsoft Web Site http://www.microsoft.com/isaserver Product Name Internet

More information

Sophos Mobile Control SaaS startup guide. Product version: 6

Sophos Mobile Control SaaS startup guide. Product version: 6 Sophos Mobile Control SaaS startup guide Product version: 6 Document date: January 2016 Contents 1 About this guide...4 2 About Sophos Mobile Control...5 3 What are the key steps?...7 4 Change your password...8

More information

Enabling Single Signon with IBM Cognos 8 BI MR1 and SAP Enterprise Portal

Enabling Single Signon with IBM Cognos 8 BI MR1 and SAP Enterprise Portal Guideline Enabling Single Signon with IBM Cognos 8 BI MR1 and SAP Enterprise Portal Product: IBM Cognos 8 BI Area of Interest: Security 2 Copyright Copyright 2008 Cognos ULC (formerly Cognos Incorporated).

More information

SEC100 Secure Authentication and Data Transfer with SAP Single Sign-On. Public

SEC100 Secure Authentication and Data Transfer with SAP Single Sign-On. Public SEC100 Secure Authentication and Data Transfer with SAP Single Sign-On Public Speakers Las Vegas, Oct 19-23 Christian Cohrs, Area Product Owner Barcelona, Nov 10-12 Regine Schimmer, Product Management

More information

PrivateServer HSM Integration with Microsoft IIS

PrivateServer HSM Integration with Microsoft IIS PrivateServer HSM Integration with Microsoft IIS January 2014 Document Version 1.1 Notice The information provided in this document is the sole property of Algorithmic Research Ltd. No part of this document

More information

Enabling Single Signon with IBM Cognos ReportNet and SAP Enterprise Portal

Enabling Single Signon with IBM Cognos ReportNet and SAP Enterprise Portal Guideline Enabling Single Signon with IBM Cognos ReportNet and SAP Enterprise Portal Product(s): IBM Cognos ReportNet Area of Interest: Security 2 Copyright Copyright 2008 Cognos ULC (formerly Cognos Incorporated).

More information

TrustKey Tool User Manual

TrustKey Tool User Manual TrustKey Tool User Manual 1 Table of Contents 1 Introduction... 5 2 TrustKey Product...6 2.1 TrustKey Tool... 6 2.2 TrustKey function modules...7 2.3 TrustKey using environment...7 3 TrustKey Tool Installation...

More information

Installation Guide. SafeNet Authentication Service

Installation Guide. SafeNet Authentication Service SafeNet Authentication Service Installation Guide Technical Manual Template Release 1.0, PN: 000-000000-000, Rev. A, March 2013, Copyright 2013 SafeNet, Inc. All rights reserved. 1 Document Information

More information

DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014

DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014 DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014 Contents Overview... 2 System requirements:... 2 Before installing... 3 Download and installation... 3 Configure DESLock+ Enterprise Server...

More information

Protecting Juniper SA using Certificate-Based Authentication. Quick Start Guide

Protecting Juniper SA using Certificate-Based Authentication. Quick Start Guide Protecting Juniper SA using Certificate-Based Authentication Copyright 2013 SafeNet, Inc. All rights reserved. All attempts have been made to make the information in this document complete and accurate.

More information

HP ProtectTools Embedded Security Guide

HP ProtectTools Embedded Security Guide HP ProtectTools Embedded Security Guide Document Part Number: 364876-001 May 2004 This guide provides instructions for using the software that allows you to configure settings for the HP ProtectTools Embedded

More information

System Administration Training Guide. S100 Installation and Site Management

System Administration Training Guide. S100 Installation and Site Management System Administration Training Guide S100 Installation and Site Management Table of contents System Requirements for Acumatica ERP 4.2... 5 Learning Objects:... 5 Web Browser... 5 Server Software... 5

More information

Entrust Managed Services PKI

Entrust Managed Services PKI Entrust Managed Services PKI Entrust Managed Services PKI Windows Smart Card Logon Configuration Guide Using Web-based applications Document issue: 1.0 Date of Issue: June 2009 Copyright 2009 Entrust.

More information

WhatsUp Gold v16.1 Installation and Configuration Guide

WhatsUp Gold v16.1 Installation and Configuration Guide WhatsUp Gold v16.1 Installation and Configuration Guide Contents Installing and Configuring Ipswitch WhatsUp Gold v16.1 using WhatsUp Setup Installing WhatsUp Gold using WhatsUp Setup... 1 Security guidelines

More information

FileMaker Server 14. FileMaker Server Help

FileMaker Server 14. FileMaker Server Help FileMaker Server 14 FileMaker Server Help 2007 2015 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and FileMaker Go are trademarks

More information

BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: 10.1.1. Security Note

BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: 10.1.1. Security Note BlackBerry Enterprise Service 10 Secure Work Space for ios and Android Version: 10.1.1 Security Note Published: 2013-06-21 SWD-20130621110651069 Contents 1 About this guide...4 2 What is BlackBerry Enterprise

More information

Citrix Access Gateway Plug-in for Windows User Guide

Citrix Access Gateway Plug-in for Windows User Guide Citrix Access Gateway Plug-in for Windows User Guide Access Gateway 9.2, Enterprise Edition Copyright and Trademark Notice Use of the product documented in this guide is subject to your prior acceptance

More information

IDENTIKEY Server Windows Installation Guide 3.2

IDENTIKEY Server Windows Installation Guide 3.2 IDENTIKEY Server Windows Installation Guide 3.2 Disclaimer of Warranties and Limitations of Liabilities Disclaimer of Warranties and Limitations of Liabilities The Product is provided on an 'as is' basis,

More information

Follow the instructions below for first-time users only

Follow the instructions below for first-time users only Whittier Law School Law Library Cisco NAC Agent Wireless Installation Guide For Microsoft Windows In order to access the wireless network on campus, Microsoft Windows laptop users must go through the Cisco

More information

Apache Server Implementation Guide

Apache Server Implementation Guide Apache Server Implementation Guide 340 March Road Suite 600 Kanata, Ontario, Canada K2K 2E4 Tel: +1-613-599-2441 Fax: +1-613-599-2442 International Voice: +1-613-599-2441 North America Toll Free: 1-800-307-7042

More information

Citrix Online, div. of Citrix Systems Inc. GoToAssist TM. Product Category: Knowledge Management/eSupport Validation Date: 2/22/2005

Citrix Online, div. of Citrix Systems Inc. GoToAssist TM. Product Category: Knowledge Management/eSupport Validation Date: 2/22/2005 , div. of Citrix Systems Inc. GoToAssist TM Product Category: Knowledge Management/eSupport Validation Date: 2/22/2005 Product Abstract GoToAssist enables businesses to securely interact in real time with

More information

epass2003 User Guide V1.0 Feitian Technologies Co., Ltd. Website: www.ftsafe.com

epass2003 User Guide V1.0 Feitian Technologies Co., Ltd. Website: www.ftsafe.com epass2003 User Guide V1.0 Feitian Technologies Co., Ltd. Revision History: Date Revision Description June 2013 V1.0 Release of the first version i Software Developer s Agreement All Products of Feitian

More information

HOTPin Integration Guide: DirectAccess

HOTPin Integration Guide: DirectAccess 1 HOTPin Integration Guide: DirectAccess Disclaimer Disclaimer of Warranties and Limitation of Liabilities All information contained in this document is provided 'as is'; Celestix assumes no responsibility

More information

Configuration Guide BES12. Version 12.3

Configuration Guide BES12. Version 12.3 Configuration Guide BES12 Version 12.3 Published: 2016-01-19 SWD-20160119132230232 Contents About this guide... 7 Getting started... 8 Configuring BES12 for the first time...8 Configuration tasks for managing

More information

RSA Authentication Manager 7.1 Basic Exercises

RSA Authentication Manager 7.1 Basic Exercises RSA Authentication Manager 7.1 Basic Exercises Contact Information Go to the RSA corporate web site for regional Customer Support telephone and fax numbers: www.rsa.com Trademarks RSA and the RSA logo

More information

Installing and Configuring WhatsUp Gold

Installing and Configuring WhatsUp Gold Installing and Configuring WhatsUp Gold This guide provides information about installing and configuring WhatsUp Gold v14.2, including instructions on how to run the WhatsUp web interface through an Internet

More information

BlackBerry Enterprise Server for Microsoft Exchange Version: 5.0 Service Pack: 2. Feature and Technical Overview

BlackBerry Enterprise Server for Microsoft Exchange Version: 5.0 Service Pack: 2. Feature and Technical Overview BlackBerry Enterprise Server for Microsoft Exchange Version: 5.0 Service Pack: 2 Feature and Technical Overview Published: 2010-06-16 SWDT305802-1108946-0615123042-001 Contents 1 Overview: BlackBerry Enterprise

More information

Integration Guide. Microsoft Active Directory Rights Management Services (AD RMS) Microsoft Windows Server 2008

Integration Guide. Microsoft Active Directory Rights Management Services (AD RMS) Microsoft Windows Server 2008 Integration Guide Microsoft Active Directory Rights Management Services (AD RMS) Microsoft Windows Server 2008 Integration Guide: Microsoft Active Directory Rights Management Services (AD RMS) Imprint

More information

Microsoft Windows Server 2003 Integration Guide

Microsoft Windows Server 2003 Integration Guide 15370 Barranca Parkway Irvine, CA 92618 USA Microsoft Windows Server 2003 Integration Guide 2008 HID Global Corporation. All rights reserved. 47A3-905, A.1 C200 and C700 December 1, 2008 Crescendo Integration

More information

HTTPS Configuration for SAP Connector

HTTPS Configuration for SAP Connector HTTPS Configuration for SAP Connector 1993-2015 Informatica LLC. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise) without

More information

Sophos Mobile Control Installation guide. Product version: 3.6

Sophos Mobile Control Installation guide. Product version: 3.6 Sophos Mobile Control Installation guide Product version: 3.6 Document date: November 2013 Contents 1 Introduction...3 2 The Sophos Mobile Control server...5 3 Set up Sophos Mobile Control...11 4 External

More information

Xerox DocuShare Security Features. Security White Paper

Xerox DocuShare Security Features. Security White Paper Xerox DocuShare Security Features Security White Paper Xerox DocuShare Security Features Businesses are increasingly concerned with protecting the security of their networks. Any application added to a

More information

PROXKey Tool User Manual

PROXKey Tool User Manual PROXKey Tool User Manual 1 Table of Contents 1 Introduction...4 2 PROXKey Product... 5 2.1 PROXKey Tool... 5 2.2 PROXKey function modules...6 2.3 PROXKey using environment...6 3 PROXKey Tool Installation...7

More information

MED ACCESS USER INSTRUCTIONS FOR INSTALLING THE CITRIX RECEIVER FOR ACCESS TO ALBERTA NETCARE VIA PLB

MED ACCESS USER INSTRUCTIONS FOR INSTALLING THE CITRIX RECEIVER FOR ACCESS TO ALBERTA NETCARE VIA PLB MED ACCESS USER INSTRUCTIONS FOR INSTALLING THE CITRIX RECEIVER FOR ACCESS TO ALBERTA NETCARE VIA PLB Last Updated: February 18, 2012. Med Access Support Alberta Netcare Portal Support Alberta Health Services

More information

M86 Web Filter USER GUIDE for M86 Mobile Security Client. Software Version: 5.0.00 Document Version: 02.01.12

M86 Web Filter USER GUIDE for M86 Mobile Security Client. Software Version: 5.0.00 Document Version: 02.01.12 M86 Web Filter USER GUIDE for M86 Mobile Security Client Software Version: 5.0.00 Document Version: 02.01.12 M86 WEB FILTER USER GUIDE FOR M86 MOBILE SECURITY CLIENT 2012 M86 Security All rights reserved.

More information

Installation Guide for Pulse on Windows Server 2012

Installation Guide for Pulse on Windows Server 2012 MadCap Software Installation Guide for Pulse on Windows Server 2012 Pulse Copyright 2014 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software

More information

ECA IIS Instructions. January 2005

ECA IIS Instructions. January 2005 ECA IIS Instructions January 2005 THIS PAGE INTENTIONALLY BLANK ECA IIS Instructions ii July 22, 2005 Table of Contents 1. Install Certificate in IIS 5.0... 1 2. Obtain and Install the ECA Root Certificate

More information

WhatsUp Gold v16.2 Installation and Configuration Guide

WhatsUp Gold v16.2 Installation and Configuration Guide WhatsUp Gold v16.2 Installation and Configuration Guide Contents Installing and Configuring Ipswitch WhatsUp Gold v16.2 using WhatsUp Setup Installing WhatsUp Gold using WhatsUp Setup... 1 Security guidelines

More information

SAML 2.0 Configurations at SAP NetWeaver AS ABAP and Microsoft ADFS

SAML 2.0 Configurations at SAP NetWeaver AS ABAP and Microsoft ADFS SAML 2.0 Configurations at SAP NetWeaver AS ABAP and Microsoft ADFS Applies to: SAP Gateway 2.0 Summary This guide describes how you install and configure SAML 2.0 on Microsoft ADFS server and SAP NetWeaver

More information

SafeNet Authentication Client (Windows)

SafeNet Authentication Client (Windows) SafeNet Authentication Client (Windows) Version 8.0 SP2 Revision A Administrator s Guide Copyright 2010 SafeNet, Inc. All rights reserved. All attempts have been made to make the information in this document

More information

Installing and Configuring vcenter Multi-Hypervisor Manager

Installing and Configuring vcenter Multi-Hypervisor Manager Installing and Configuring vcenter Multi-Hypervisor Manager vcenter Server 5.1 vcenter Multi-Hypervisor Manager 1.1 This document supports the version of each product listed and supports all subsequent

More information

SafeGuard Enterprise Web Helpdesk. Product version: 6.1

SafeGuard Enterprise Web Helpdesk. Product version: 6.1 SafeGuard Enterprise Web Helpdesk Product version: 6.1 Document date: February 2014 Contents 1 SafeGuard web-based Challenge/Response...3 2 Scope of Web Helpdesk...4 3 Installation...5 4 Allow Web Helpdesk

More information

UNICORN 7.0. Administration and Technical Manual

UNICORN 7.0. Administration and Technical Manual UNICORN 7.0 Administration and Technical Manual Page intentionally left blank Table of Contents Table of Contents 1 Introduction... 1.1 Administrator functions overview... 1.2 Network terms and concepts...

More information

4.0 SP1 (4.0.1.0) November 2014 702P03296. Xerox FreeFlow Core Installation Guide: Windows Server 2008 R2

4.0 SP1 (4.0.1.0) November 2014 702P03296. Xerox FreeFlow Core Installation Guide: Windows Server 2008 R2 4.0 SP1 (4.0.1.0) November 2014 702P03296 Installation Guide: Windows Server 2008 R2 2014 Xerox Corporation. All rights reserved. Xerox, Xerox and Design, FreeFlow, and VIPP are trademarks of Xerox Corporation

More information

UNICORN 6.4. Administration and Technical Manual

UNICORN 6.4. Administration and Technical Manual UNICORN 6.4 Administration and Technical Manual Page intentionally left blank Table of Contents Table of Contents 1 Introduction... 1.1 Administrator functions overview... 1.2 Network terms and concepts...

More information

SafeGuard Enterprise Web Helpdesk. Product version: 6 Document date: February 2012

SafeGuard Enterprise Web Helpdesk. Product version: 6 Document date: February 2012 SafeGuard Enterprise Web Helpdesk Product version: 6 Document date: February 2012 Contents 1 SafeGuard web-based Challenge/Response...3 2 Installation...5 3 Authentication...8 4 Select the Web Helpdesk

More information

Avaya one X Portal 1.1.3 Lightweight Directory Access Protocol (LDAP) over Secure Socket Layer (SSL) Configuration

Avaya one X Portal 1.1.3 Lightweight Directory Access Protocol (LDAP) over Secure Socket Layer (SSL) Configuration Avaya one X Portal 1.1.3 Lightweight Directory Access Protocol (LDAP) over Secure Socket Layer (SSL) Configuration This document provides configuration steps for Avaya one X Portal s 1.1.3 communication

More information

EMC Documentum Content Services for SAP Repository Manager

EMC Documentum Content Services for SAP Repository Manager EMC Documentum Content Services for SAP Repository Manager Version 6.0 Installation Guide P/N 300 005 500 Rev A01 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748 9103 1 508 435 1000 www.emc.com

More information