Integration Guide. SafeNet Authentication Client. Using SAC with Putty-CAC



Similar documents
Integration Guide. SafeNet Authentication Service. Using SAS with Web Application Proxy. Technical Manual Template

Integration Guide. SafeNet Authentication Client. Using SAC CBA for Check Point Security Gateway

Integration Guide. SafeNet Authentication Service. VMWare View 5.1

Configuration Guide. SafeNet Authentication Service. Token Validator Proxy Agent

Integration Guide. SafeNet Authentication Service. Using SAS as an Identity Provider for Tableau Server

Configuration Guide. SafeNet Authentication Service. Remote Logging Agent

Integration Guide. SafeNet Authentication Service. Using SAS as an Identity Provider for Salesforce

Integration Guide. SafeNet Authentication Service. SAS Using RADIUS Protocol with Microsoft DirectAccess

Agent Configuration Guide

Configuration Guide. SafeNet Authentication Service. SAS Agent for Microsoft Internet Information Services (IIS)

Integration Guide. SafeNet Authentication Service. SAS Using RADIUS Protocol with Apache HTTP Server

Configuration Guide. SafeNet Authentication Service AD FS Agent

Gemalto SafeNet Minidriver 9.0

Installation Guide. SafeNet Authentication Service

SafeNet Authentication Manager Express. Upgrade Instructions All versions

Integration Guide. SafeNet Authentication Service. Using SAS as an Identity Provider for Drupal

Configuration Guide. SafeNet Authentication Service. SAS Agent for Microsoft Outlook Web Access 1.06

Synchronization Agent Configuration Guide

User Guide. SafeNet MobilePASS for Windows Phone

Configuration Guide. SafeNet Authentication Service. SAS Agent for Microsoft Outlook Web App. Technical Manual Template

Integration Guide. SafeNet Authentication Service. Oracle Secure Desktop Using SAS RADIUS OTP Authentication

Integration Guide. SafeNet Authentication Service. Integrating Active Directory Lightweight Services

Microsoft IIS Integration Guide

Integration Guide. SafeNet Authentication Service. Using RADIUS Protocol for Radiator RADIUS Server

SafeNet MobilePASS Version 8.2.0, Revision B

Active Directory Rights Management Service Integration Guide

Preface. Limitations. Disclaimers. Technical Support. Luna SA and IBM HTTP Server/IBM Web Sphere Application Server Integration Guide

SafeNet KMIP and Amazon S3 Integration Guide

SafeNet Cisco AnyConnect Client. Configuration Guide

Preface. Microsoft Office Sharepoint Server 2007 Integration Guide SafeNet, Inc. All rights reserved. Part Number: (Rev A, 06/2009)

Migration Guide. SafeNet Authentication Service. SafeWord/SAMx. Migration Guide: SafeNet Authentication Service. SafeWord/SAMx

Microsoft SQL Server Integration Guide

SAS Token Validator Proxy Agent Configuration Guide

SafeNet MSSQL EKM Provider User Guide

Integration Guide. SafeNet Authentication Service. Using RADIUS and LDAP Protocols for Cisco Secure ACS

Apache HTTP Server Integration Guide

SAS Agent for Outlook Web Access

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

SafeNet Authentication Service

Sentinel Cloud V.3.5 Installation Guide

Windows Live Mail Setup Guide

Microsoft IAS and NPS Agent Configuration Guide

SafeNet Authentication Service Token Validator Proxy Agent. Configuration Guide

Identikey Server Getting Started Guide 3.1

SAS Agent for Outlook Web App

ProtectDrive. User Manual Revision: B00

SafeNet Authentication Service

Digipass Plug-In for IAS. IAS Plug-In IAS. Microsoft's Internet Authentication Service. Getting Started

StarWind iscsi SAN Software: Challenge-Handshake Authentication Protocol (CHAP) for Authentication of Users

High Availability Configuration

Configuration Guide. SafeNet Authentication Service. SAS Agent for PEAP

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

Creating IBM Cognos Controller Databases using Microsoft SQL Server

formerly Help Desk Authority HDAccess Administrator Guide

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

Jobs Guide Identity Manager February 10, 2012

How to Secure a Groove Manager Web Site

SafeNet Authentication Manager 8.2 and Windows Azure. Quick Start Guide

Configuring IBM Cognos Controller 8 to use Single Sign- On

DIGIPASS Authentication for Windows Logon Getting Started Guide 1.1

User Guide Novell iprint 1.1 March 2015

Product Guide Addendum. SafeWord Check Point User Management Console Version 2.1

MadCap Software. Upgrading Guide. Pulse

SAM Context-Based Authentication Using Juniper SA Integration Guide

Integration Guide. SafeNet Authentication Service. Using RADIUS Protocol for Cisco ASA

HyperFS PC Client Tools

Sophos Mobile Control Installation guide. Product version: 3

Yale Software Library

Enabling Remote Management of SQL Server Integration Services

Digipass Plug-In for IAS. IAS Plug-In IAS. Microsoft's Internet Authentication Service. Installation Guide

Generating an Apple Push Notification Service Certificate

Server Installation ZENworks Mobile Management 2.7.x August 2013

SafeNet Authentication Service

For Active Directory Installation Guide

SSL Management Reference

Novell Identity Manager

INTRODUCTION 3 XYZ EXAMPLE 3 CONNECTING THE FAXFINDER TO THE IP OFFICE SWITCH 4 CONFIGURING THE FAXFINDER FOR INTER-OPERATION -- THE XYZ EXAMPLE 4

Windows Azure Pack Installation and Initial Configuration

Audit Management Reference

Defender EAP Agent Installation and Configuration Guide

Foglight for Oracle. Managing Oracle Database Systems Getting Started Guide

Strong Authentication for Juniper Networks SSL VPN

Migration Tool Administration Guide

Administration guide. Océ LF Systems. Connectivity information for Scan-to-File

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

Active Directory Provider User s Guide

Shakambaree Technologies Pvt. Ltd.

Strong Authentication for Cisco ASA 5500 Series

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

WINDOWS 7 & HOMEGROUP

Lab 05: Deploying Microsoft Office Web Apps Server

HOTPin Integration Guide: DirectAccess

Remark FTP Utility. For Remark Office OMR. User s Guide

Deliver Oracle BI Publisher documents to Microsoft Office SharePoint Server An Oracle White Paper July 2008

Administration Quick Start

ATT8367-Novell GroupWise 2014 and the Directory Labs

StarWind iscsi SAN: Configuring HA File Server for SMB NAS February 2012

Windows Server Update Services 3.0 SP2 Step By Step Guide

NovaBACKUP xsp Version 15.0 Upgrade Guide

EVault Endpoint Protection 7.0 Single Sign-On Configuration

Transcription:

SafeNet Authentication Client Integration 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 Document Part Number 007-012549-001, Rev. A Release Date April 2014 Trademarks All intellectual property is protected by copyright. All trademarks and product names used or referred to are the copyright of their respective owners. No part of this document may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, chemical, photocopy, recording, or otherwise, without the prior written permission of SafeNet, Inc. Disclaimer SafeNet makes no representations or warranties with respect to the contents of this document and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Furthermore, SafeNet reserves the right to revise this publication and to make changes from time to time in the content hereof without the obligation upon SafeNet to notify any person or organization of any such revisions or changes. We have attempted to make these documents complete, accurate, and useful, but we cannot guarantee them to be perfect. When we discover errors or omissions, or they are brought to our attention, we endeavor to correct them in succeeding releases of the product. SafeNet invites constructive comments on the contents of this document. These comments, together with your personal and/or company details, should be sent to the address or email below. Contact Method Mail Email Contact Information SafeNet, Inc. 4690 Millennium Drive Belcamp, Maryland 21017, USA TechPubs@safenet-inc.com 2

Contents Contents Introduction... 4 Prerequisites... 4 Authentication Flow... 5 Configurations... 6 Configuring PuTTY-CAC for PKCS11 Connection... 6 Configuring PuTTY-CAC for MS-CAPI Connection... 8 Configuring the authorized_keys File on the Linux Server... 10 Running the Solution... 10 PKCS11 Scenario... 10 MS- CAPI-based Connection... 11 Troubleshooting... 13 Common Errors... 13 Support Contacts... 13 3

Introduction Public key authentication provides a highly secure means of identifying a user to a login server, and is an alternative to the less secure method of entering a password. PuTTY-CAC is an SSH client for Windows, based on PuTTY SC, but adds the capability to extract public keys from certificates on a smart card if the public key is not available as a distinct object. SSH (Secure Shell) is a high-security protocol that uses strong cryptography to protect your connection against eavesdropping, hijacking, and other attacks. This document provides guidance for integrating PuTTY-CAC with the SafeNet etoken. The integration aims at enabling the user to securely authenticate to their Linux servers using a certificate on the etoken instead of entering a password. This document provides configuration steps for creating SSH (PKCS11 and CAPI) connections to the Linux server. Prerequisites SafeNet Authentication Client (on the Windows machine) PuTTY-CAC installed on the Windows machine The user has a token with valid, enrolled certificate It is assumed that the user has access to the Linux server NOTE: In order for the instructions provided in this guide to succeed, the following programs must be installed and configured: SafeNet Authentication Client x64 Version 8.3 PuTTY-CAC (0.62 and above) installed on Windows2K8_r2_x64 SafeNet etoken authenticator Linux server (CentOS 6.5_x64) 4

Authentication Flow The image below illustrates the data flow for authenticating to a Linux server through PuTTY-CAC using a certificate on an etoken. 1. The Windows user enters the login name of Linux user in the PuTTY login window. 2. The PuTTY login window asks for the etoken passphrase instead of the Linux user password. 3. Successful authentication is performed using the private key on the token. The user is logged in to the Linux server without providing his/her password. 5

Configurations Configuring PuTTY-CAC for PKCS11 Connection 1. Open PuTTY-CAC. 2. In the left pane, click Session. 3. Complete the Basic Options for your PuTTY Session dialog box as follows: Host Name (or IP address) Port Connection type Saved Sessions Type the host name or IP address of the Linux server. Leave this value set to 22, the default port. Select SSH. To save these settings, type a name for this connection session (for example, BobCert_Pkcs11). 4. In the left pane, select Connection > SSH > Pkcs11. 6

5. Complete the Options controlling PKCS11 SSH authentication dialog box as follows: Authentication Methods Select Attempt PKCS#11 smartcard auth (SSH-2). Authentication Parameters PKCS#11 library for authentication Token label Certificate label SSH keystring Click the Browse button and then select etpkcs11.dll (installed with SAC). The default location for this file is C:\Windows\System32\eTPKCS11.dll. Select the token that contains your certificate. Select the appropriate certificate label. The keystring is generated automatically based on the authentication settings above. 6. In the left pane, click Session. 7. In the right pane, click Save. 7

Configuring PuTTY-CAC for MS-CAPI Connection 1. Open PuTTY-CAC. 2. In the left pane, select Session. 3. Complete the Basic Options for your PuTTY Session dialog box as follows: Host Name (or IP address) Port Connection type Saved Sessions Type the host name or IP address of the Linux server. Leave this value set to 22, the default port. Select SSH. To save these settings, type a name for this connection session (for example, BobCert_Pkcs11). 4. In the left pane, click Connection > SSH > CAPI. 8

5. Complete the Options controlling MS CAPI SSH authentication dialog box as follows: Authentication Methods Select Attempt CAPI Certificate (Key-only) auth (SSH-2). Authentication parameters Store Cert Select the store that contains your certificate Click the Browse button. A Windows Security message box is displayed. Select the appropriate certificate, and then click OK. SSH keystring The keystring is generated automatically based on the authentication settings above. 6. In the left pane, click Session. 7. In the right pane, click Save. 9

Configuring the authorized_keys File on the Linux Server In order to authenticate the user to the Linux server, the public key must be present in the server. To achieve this, perform the following steps: 1. Log in to the Linux server. 2. Change the working directory to $HOME/.ssh. 3. Edit the authorized_keys file. You will need to create this file if it does not exist. 4. Do one of the following: For a PKCS11 connection: Copy and paste the SSH keystring from step 5 on page 7. For an MS-CAPI connection: Copy and paste the SSH keystring from step 5 on page 9. 5. Save the file. Running the Solution Once the session configuration for either the PKCS11 or CAPI connection are saved on PuTTY, and the authorized_keys file on the Linux server has the proper SSH keystring defined, you are ready to authenticate to the Linux server using the certificate on the token attached to the Windows machine instead of providing the password of the Linux user. PKCS11 Scenario 1. Open PuTTY. 2. In the Saved Sessions list, click your previously saved session. 10

3. Click Load to upload the saved settings. 4. Click Open. 5. The login window for the Linux machine is displayed. 6. Type the user ID of the Linux user for which you have configured the authorized_keys file, and then press Enter. 7. Type the token passphrase, and then press Enter. 8. Check for the successful login. NOTE: PuTTY will authenticate with the public key, referring to the Certificate label, and will prompt for the smart card passphrase (instead of the password for the user), referring to the Token Label. MS- CAPI-based Connection 1. Open PuTTY. 2. In the Saved Sessions list, click your previously saved session. 11

3. Click Load to upload the saved settings. 4. Click Open. 5. The login window for the Linux machine is displayed. 6. Type the name of Linux user for which you have configured the authorized_keys file, and then press Enter. 7. On the SAC Token Logon dialog box, type the token password, and then click OK. 8. Check for successful login. 12

Troubleshooting Common Errors Error: Server refused our key To resolve this error, ensure that the Linux user has access to the authorized_keys file and that the SSH keystring is correctly copied. Error: Server refused public-key signature despite accepting key! To resolve this issue, ensure the authorized_keys file in the SSH keystring is in a single line, and that there are no starting or trailing blank spaces. Support Contacts If you encounter a problem while installing, registering or operating this product, please make sure that you have read the documentation. If you cannot resolve the issue, contact your supplier or SafeNet Customer Support. SafeNet Customer Support operates 24 hours a day, 7 days a week. Your level of access to this service is governed by the support plan arrangements made between SafeNet and your organization. Please consult this support plan for further information about your entitlements, including the hours when telephone support is available to you. Table 1: Support Contacts Contact Method Address Contact Information SafeNet, Inc. 4690 Millennium Drive Belcamp, Maryland 21017 USA Phone United States 1-800-545-6608 International 1-410-931-7520 Email Technical Support Customer Portal support@safenet-inc.com https://serviceportal.safenet-inc.com Existing customers with a Technical Support Customer Portal account can log in to manage incidents, get the latest software upgrades, and access the SafeNet Knowledge Base. 13