Secure Login for SAP Single Sign-On Implementation Guide Company
Total Page:16
File Type:pdf, Size:1020Kb
PUBLIC SAP Single Sign-On 3.0 SP02 Document Version: 1.9 – 2020-03-17 Secure Login for SAP Single Sign-On Implementation Guide company. All rights reserved. All rights company. affiliate THE BEST RUN 2020 SAP SE or an SAP SE or an SAP SAP 2020 © Content 1 Introduction to Secure Login.................................................. 10 2 System Overview............................................................11 2.1 Cryptographic Library for SAP Single Sign-On........................................12 2.2 Clients for Authentication...................................................... 12 Authentication Methods of Secure Login Client.....................................12 Authentication Methods of Secure Login Web Client................................. 13 2.3 System Overview with Secure Login Server..........................................13 2.4 PKI Structure...............................................................14 Out-of-the-Box PKI Login Server............................................... 14 PKI Integration............................................................14 2.5 Secure Communication........................................................15 2.6 Policy Server Overview.........................................................16 2.7 Digital Signing with Secure Store and Forward (SSF)....................................17 2.8 Authentication Profiles.........................................................17 3 Basic Scenarios............................................................ 18 3.1 Environment Using Secure Login Client.............................................18 Authentication Methods without Secure Login Server................................19 Workflow with X.509 Certificate without Secure Login Server...........................20 Workflow with Kerberos Token without Secure Login Server............................21 3.2 Environment Using Secure Login Client and Secure Login Server...........................21 Authentication Methods with Secure Login Server.................................. 22 Workflow with X.509 Certificate Request Using Secure Login Server......................23 3.3 SNC X.509 Configuration...................................................... 24 Configuring SNC Parameters for X.509 Certificates................................. 24 Configuring X.509 Certificates Using the Trust Manager..............................25 3.4 SNC Kerberos Configuration....................................................27 Microsoft Windows Account for SAP Server.......................................28 Create a Microsoft Windows Account............................................32 4 Advanced Scenarios.........................................................33 4.1 Logging on with Secure Login Client Using SNC.......................................33 Enabling Secure Login Client to Smartly Select an SNC Mode.......................... 34 Rolling out General Availablility of SNC-Encrypted Logon..............................35 Manually Switching to Encryption Only for Logging on Using SNC........................36 SNC Configuration Options in the Secure Login Client................................36 4.2 Providing X.509 Certificates to Secure Login Client Using JavaScript Web Client................38 Secure Login for SAP Single Sign-On Implementation Guide 2 PUBLIC Content Elements Required in Secure Login Client for JavaScript Web Client......................39 Elements Required in Secure Login Server for JavaScript Web Client.....................40 Extending JavaScript Web Client to Multiple SAP GUI Logins........................... 41 Extending JavaScript Web Client to Multiple Portal Logins.............................41 Configuring the Secure Login Client for JavaScript Web Client..........................42 Configuring the Secure Login Server for JavaScript Web Client..........................43 4.3 Using a Remote Certification Authority in Secure Login................................. 46 Prerequisites for Using a Remote Certification Authority ..............................46 Configuring a Remote Certification Authority for Secure Login..........................48 4.4 Remote Certification Authority Certificate Templates...................................54 4.5 Using the Secure Login Server to Provide Trusted Certification Authorities....................54 Configuration Information for Trusted Certification Authorities Provided by the Secure Login Server................................................................. 55 4.6 Certificate Lifecycle Management Using the Secure Login Server.......................... 57 The sapslscli Command Line Interface...........................................58 4.7 Browser-Based Enrollment of Secure Login Client Using a Secure Login Server Profile............58 API Methods for Profile Enrollment.............................................59 HTML Code Example with Secure Login Server Profile and SNC Name.................... 61 4.8 Using Secure Login Client as SSH Agent............................................62 Restricting the Use of Secure Login SSH Agent.....................................63 4.9 Digital Client Signature (SSF)................................................... 64 How to Test SSF Client Signature.............................................. 64 SSF User Configuration in SAP GUI.............................................66 System Signature Using Microsoft Active Directory Authentication.......................66 4.10 X.509 and Kerberos Authentication...............................................69 Authentication with X.509 Certificates and Kerberos................................ 69 Supporting Authentication with Kerberos and X.509 on SAP NetWeaver AS ABAP............70 4.11 Kerberos Authentication for HTML-Based User Interfaces Using AS ABAP with SPNego.......... 72 System Landscape for Kerberos Authentication on AS ABAP...........................73 Setting the AS ABAP Profile Parameters..........................................74 Configuring a Service Account................................................ 75 Creating a keytab..........................................................78 Troubleshooting SPNego on AS ABAP...........................................80 4.12 Configuring Secure Login Web Client Connections to SAP GUI............................ 80 Connection with Redirect to URL...............................................81 Direct SAP GUI Connection with Secure Login Web Client.............................82 Load-Balanced SAP GUI Connection with Secure Login Web Client (Using the Message Server) ......................................................................83 Launch SAP Logon Pad..................................................... 85 4.13 Using Secure Login Client in Web Adapter Mode...................................... 85 Configuring Web Adapter Mode for Secure Login Client...............................86 Secure Login for SAP Single Sign-On Implementation Guide Content PUBLIC 3 4.14 Using Secure Login Server for SAML 2.0 Authentication.................................86 Configuring SAML 2.0 Authentication in the Secure Login Server........................87 4.15 Certificate Lifecycle Management in the AS ABAP Using Secure Login Server..................88 PSE Infrastructure Involved in Certificate Renewal Using Secure Login Server...............89 Prerequisites for Certificate Renewal Using Secure Login Server........................ 90 Configuring Certificate Lifecycle Management in the AS ABAP Using Secure Login Server......90 Preparing a Certificate Renewal at Regular Intervals.................................95 4.16 Certificate Lifecycle Management in the AS Java Using Secure Login Server...................97 Infrastructure Involved In Certificate Renewal Using Secure Login Server..................98 Prerequisites for Certificate Renewal Using Secure Login Server........................ 99 Configuring Certificate Lifecycle Management in the AS Java Using Secure Login Server.......99 Renewing Certificates at Regular Intervals for AS Java Clients......................... 103 4.17 Issuing Certificates for iOS Devices...............................................109 Configuring an Authentication Profile for iOS Devices................................110 4.18 Kerberos Authentication with SPNego.............................................110 Configuring Kerberos Authentication with SPNego for Secure Login Client.................112 Enabling Kerberos Authentication with SPNego for Secure Login Web Client................112 Configuring SPNego on SAP NetWeaver Adminstrator...............................113 4.19 LDAP User Authentication..................................................... 114 Importing LDAP Server CAs or Certificates into the SAP NetWeaver Key Storage............ 115 4.20 Deleting a Configuration.......................................................116 4.21 User Authentication against SAP Netweaver Application Server for ABAP....................117 Creating a Destination with an RFC Destination Type................................118 4.22 RADIUS User Authentication....................................................119 Using a Customer-Specific securid.ini Server Message File............................120 4.23 Identification Using RFID Tokens.................................................121 Security Aspects of RFID Identification..........................................121 Implementation Concept of RFID Identification....................................122 RFID Identification Example................................................