Smart Card Configuration For Citrix Environments-v2[1]-jp

2y ago
60 Views
2 Downloads
4.11 MB
37 Pages
Last View : 4m ago
Last Download : 2m ago
Upload by : Adalynn Cowell
Transcription

Smart Card Configuration for Citrix EnvironmentsVersion 1.1

Table of ContentsIntroduction . 3Obtaining a Smart Card .3Required hardware. 3Setting up a Windows Domain . 4Installing Domain Controller Roles .4Preparing the Certificate Authority for Smart card usage.5Issuing a Domain Controller Certificate .7Creating a test user .8Configuring the Smart card . 8Enable PIV CCID Mode for the Yubikey 4 .8Yubikey PIV Manager Tool .9Issuing the certificate . 10Importing the certificate to the Yubikey . 10Setting CHUID and CCC objects . 11Enabling Smart cards on Windows .11Configuring Smart cards by Group Policy . 13Configuring Microsoft IIS for HTTPS .14Configuring HTTPS on Microsoft IIS . 14Non-Domain Joined Computers .17Retrieving the CA Certificate from the Microsoft CA . 17Installing the Trusted CA Certificate on Windows. 18Configuring Citrix StoreFront .19Creating the Store . 19Confirm that Smart card HTTPS authentication is working . 23Configuring the XenDesktop DDC .24Trusting Storefront to authenticate users . 24Launching a smart card session from a web browser . 24Configuring Citrix Receiver for Windows .25Configuring the Citrix Receiver . 25Firefox for Windows . 27

Configuring Citrix Receiver for Linux .29For Linux Native Receiver . 29Configure Firefox on Linux. 29Configuring Citrix Receiver for OSX .31Installing smart card support for Safari . 31Firefox on Mac OSX . 31Configuring Citrix Receiver for Mac to use NetScaler Authentication . 33Configuring Citrix Receiver for ChromeOS.34Installing the “Smart Card Connector” . 34Installing the “CACKey” Smart Card driver. 34References.36DisclaimerThis document is furnished "AS IS". Citrix Systems, Inc. disclaims all warranties regarding thecontents of this document, including, but not limited to, implied warranties of merchantabilityand fitness for any particular purpose. This document may contain technical or otherinaccuracies or typographical errors. Citrix Systems, Inc. reserves the right to revise theinformation in this document at any time without notice. This document and the softwaredescribed in this document constitute confidential information of Citrix Systems, Inc. and itslicensors, and are furnished under a license from Citrix Systems, Inc. This document and thesoftware may be used and copied only as agreed upon by the Beta or Technical PreviewAgreement.About CitrixCitrix (NASDAQ:CTXS) is leading the transition to software-defining the workplace, unitingvirtualization, mobility management, networking and SaaS solutions to enable new ways forbusinesses and people to work better. Citrix solutions power business mobility through secure,mobile workspaces that provide people with instant access to apps, desktops, data andcommunications on any device, over any network and cloud. With annual revenue in 2014 of 3.14 billion, Citrix solutions are in use at more than 330,000 organizations and by over 100million users globally. Learn more at www.citrix.com.Copyright 2015 Citrix Systems, Inc. All rights reserved. Citrix, Citrix Receiver, and StoreFront are trademarks ofCitrix Systems, Inc. and/or one of its subsidiaries, and may be registered in the U.S. and other countries. Otherproduct and company names mentioned herein may be trademarks of their respective companies.2

Smart Card Configuration for Citrix EnvironmentsJune 2016IntroductionThis document provides a step-by-step guide for configuring a complete smart carddeployment on Citrix XenDesktop. Instructions are included for Windows, Macintosh and Linuxclients.Obtaining a Smart CardThe deployment is based on the NIST PIV smart card standard. Smart card driver software forPIV cards is supplied by the Operating System vendors. Note that some organisations requiremore advanced Smart card driver software which can be installed according to the smart carddriver vendor’s documentation.For the purposes of this document, the Yubikey 4 smart card is used. The Yubikey 4 is an allin-one USB CCID PIV device that can be purchased from Amazon or other vendors. The Yubicosoftware referenced in this document is open source and available as a free download fromtheir website.Note that it is possible to test with other types of PIV smart cards, but the details of the processwill vary according to the smart card vendor’s documentation.Required hardwareThis deployment requires three Windows 2012 R2 servers, which may be installed in a VirtualMachine environment, including the: Domain ControllerXenDesktop VDA serverXenDesktop DDC serverThe machines must be installed on a private network, completely isolated from externalsystems.Physical computers or Thin Client devices are used to test the smart card integration with HDXReceiver; Windows 10, Linux and Macintosh clients will be connected.This document includes the following sections: 3Setting up a W indows Dom ain. Includes a step-by-step guide to configuring aWindows domain to allow smart card authentication. It covers installation andconfiguration of the Microsoft Certificate Authority.Configuring the Sm art card. Provides a step-by-step guide to installing a smart carduser certificate onto a Yubikey 4 device. The process will be similar for other types of PIVsmart cards.Enabling Sm art cards on W indows. Includes a step-by-step guide to enablingsmart card logins on Windows. This can be done per server, or by applying a Smart cardGroup Policy.

Smart Card Configuration for Citrix Environments June 2016Configuring M icrosoft IIS for HTTPS. This section is a step-by-step guide toenabling HTTPS with smart card client authentication on a Microsoft IIS server. Thisserver will then then be used to host the Citrix StoreFront Web Application.Configuring Citrix StoreFront. Provides This a step-by-step guide to creating aStoreFront store that is enabled for Smart card AuthenticationConfiguring the XenDesktop DDC. Describes describes how to enable Smart cardauthentication in the XenDesktop DDC, through to making a connection to the VDAusing the HDX Smart card Virtual Channel.Configuring Citrix Receiver for W indows. Includes information describing how toconfigure Windows Receiver, Internet Explorer and Firefox to run on a Windowsmachine.Configuring Citrix Receiver for Linux. This section describes how to configureLinux Receiver and Firefox to run on a Linux machine.Configuring Citrix Receiver for Apple OS X. Describes how to configure CitrixReceiver and Firefox to run on an OSX machine.Setting up a Windows DomainThe Windows Domain Controller runs the DHCP server and DNS server for the isolated network.This section covers the promotion of a Windows 2012 R2 machine to a domain controller, andthe configuration of the Microsoft Certificate Authority component.Installing Domain Controller RolesTo configure the Domain Controller, run the Microsoft Server Manager tool and install thefollowing roles: 4Active Directory Domain ServicesDHCP ServerDNS ServerActive Directory Certificate Services (must be installed after installing the above)

Smart Card Configuration for Citrix EnvironmentsJune 2016Note that it is possible to configure the Domain Controller as a Router to a public network atthis stage using the Remote Access role, but care should be taken to maintain the isolation ofthe domain deployment network.When the Domain Controller is fully installed, join the XenDeskop DDC and VDA servers to thedomain. Ensure that all DHCP and DNS services are retrieved from the Domain Controller.Preparing the Certificate Authority for Smart card usageIn the Server Manager tool open the “Certificate Authority” GUI from the “Tools” menu. In the“Certificate Templates” node, check that the “Smart card User” template is shown. If not, rightclick and choose “New - Certificate tem plate to Issue” and add it from this list.5

Smart Card Configuration for Citrix EnvironmentsJune 2016Next, right click the “Certificate Tem plates” node and choose “M anage”. This will bring upthe “Certificate Templates Console”. Double click the “Sm art card User” template and go tothe Security tab. Grant the “Enroll” permission to “Authenticated Users” and click OK.6

Smart Card Configuration for Citrix EnvironmentsJune 2016Issuing a Domain Controller CertificateTo authenticate users with a smartcard, the domain controller must be issued with X509certificates to handle the Kerberos protocol. To do this, run the Microsoft ManagementConsole (mmc.exe), choose Add/Rem ove Snapins, and select Certificates for the“Com puter account”.Select “All Tasks à Request New Certificate ” and request “Domain Controller” and “DomainController Authentication” certificates.7

Smart Card Configuration for Citrix EnvironmentsJune 2016Creating a test userReturn to the Server Manager and launch the “Active Directory Users and Com puters”tool from the Tools menu. Create a test user (note the username and @citrixtest.net sections).For the purposes of the document, we will create a user account of fred@citrixtest.net.Configuring the Smart cardThis section details the process of creating a user smart card certificate and using it to configurea smart card. If you are using a different vendor’s PIV smart card, you should refer to the vendordocumentation.Enable PIV CCID Mode for the Yubikey 4Yubikey 4s devices are usually shipped with PIV CCID mode disabled. To enable smartcardmode, download and install the “Yubikey NEO Manager” tool from the downloads page ofYubico’s website; this can be done on a separate machine. Run the tool and insert the Yubikey4 device. Click “Change connection mode” and enable CCID. This only needs to be done once.8

Smart Card Configuration for Citrix EnvironmentsJune 2016Yubikey PIV Manager ToolDownload and install the “Yubikey PIV Manager” tool from the downloads page of Yubico’swebsite. Run the tool and insert the Yubikey 4 device. The tool will prompt for you to setup auser PIN and management key for the Yubikey 4.Click the “Certificates” button, and choose “Generate new key” on the “Authentication”tab.9

Smart Card Configuration for Citrix EnvironmentsJune 2016Choose “RSA (2048 bits)” and “Certificate Signing Request”. For the Subject select“/CN fred@citrixtest.net”, replacing fred with an appropriate username and citrixtest.netwith the UPN suffix of your domain, matching the user account created in the previous step.Click OK and save the .csr file when requested. You will be prompted to enter the PIN that youspecified at “Device Initialization” stage.Issuing the certificateCopy the .csr file to the Domain Controller machine. Log in as the user matching the subject(fred@citrixtest.net in this example). Run the command te:SmartcardUser” file.csr If this step fails check the “Enroll” security permission set on the “Certificate Template Console”above and log out/in. The list of available certificate template names can be seen by running“certutil–template”.If the certificate request submission is successful, you are prompted to select your certificateauthority and then save a .crt file. Copy the .crt file back to the computer running the YubiKeyPIV Manager tool.Importing the certificate to the YubikeyOn the “Authentication” tab of the YubiKey PIV Manager, Select the “Im port from File ”option. Import the .crt file retrieved from the domain controller.10

Smart Card Configuration for Citrix EnvironmentsJune 2016Setting CHUID and CCC objectsOlder versions of the Yubikey software do not set the Card Holder Unique Identifier (CHUID)and Card Capability Container (CCC) PIV fields automatically. This will result in the device not bedetected on Windows and OSX. Use the command line “set-chuid” and “set-ccc” features ofthe yubico-piv-tool to correct this (see Yubico documentation if you encounter this issue).The Yubikey smart card device is now ready for use.Enabling Smart cards on WindowsSmart card authentication can be enabled through the Services control panel (run services.mscon the command line). Simply enable and start the “Sm art card Service”.On your XenDesktop VDA machine, enable this service and log out. Connect the Yubikey to theVDA machine, or connect remotely using RDP.11

Smart Card Configuration for Citrix EnvironmentsJune 2016If connecting remotely, remember to enable Smart card devices in the RDP “LocalResources” tab.You must log in as an Administrator to allow the smart card drivers to load.Next, lock the computer and check that the smart card logon icon is available:12

Smart Card Configuration for Citrix EnvironmentsJune 2016You should now be able to log on using the PIN that was specified in the Yubikey PIV Managertool.Configuring Smart cards by Group PolicyNote that in addition to manually enabling the Smart card service, Microsoft provides a GroupPolicy to remotely enable smart card logon (Windows Components/Smart card).13

Smart Card Configuration for Citrix EnvironmentsJune 2016Configuring Microsoft IIS for HTTPSThis section describes configuring Microsoft IIS for HTTPS smart card authentication.Configuring HTTPS on Microsoft IISOn the XenDesktop DDC server that will host StoreFront, run the Microsoft ManagementConsole (mmc.exe), choose Add/Rem ove Snapins, and select Certificates for the“Com puter account”.Select “All Tasks à Request New Certificate ” and generate a Computer certificate.14

Smart Card Configuration for Citrix EnvironmentsJune 2016Next start the “IIS Manager” console and choose the “Bindings ” option for the defaultwebsite:Add HTTPS bindings, selecting the certificate that was created in the MMC:15

Smart Card Configuration for Citrix EnvironmentsJune 2016Finally go to the “SSL Settings” for the web-site and select “Require SSL” and “AcceptClient Certificate” for the appropriate endpoints. Note that this step may need to be doneafter creating the StoreFront store (see the next section):16

Smart Card Configuration for Citrix EnvironmentsJune 2016Non-Domain Joined ComputersWhen a Windows computer joins a domain, it automatically downloads and installs the“Trusted CA” certificates used to authorize the Microsoft Certificate Authority. For nonWindows computers, and for computers not joined to a domain, this can be done manually.If a CA is not trusted, Web browsers and other security systems will prompt with securitywarnings whenever visiting Web pages protected by certificates issued by the CA.Retrieving the CA Certificate from the Microsoft CAIn the Microsoft Certificate Authority, select the CA node and choose “Properties ” The CAcertificates are shown on the “General” tab. Note that you will, in general, only need the mostrecent CA certificate.Click “View Certificate”. On the “Details” tab, there is an option to “Copy to File”. Use thisto export the root certificate (use the DER/.cer options). This file can be manually copied tonon-domain joined computers.17

Smart Card Configuration for Citrix EnvironmentsJune 2016Installing the Trusted CA Certificate on WindowsTo install a trusted CA certificate, run the mmc.exe as Administrator. Add the “Certificates”snapin for the Computer Account. Right-click the “Trusted Root CertificationAuthorities” and Im port the file.18

Smart Card Configuration for Citrix EnvironmentsJune 2016Configuring Citrix StoreFrontThis section describes enabling StoreFront smart card authentication on an IIS serverconfigured for smart card authenticationCreating the StoreStart the StoreFront Management console. Go to the “Server Group” page and select“Change Base URL”. Ensure that the base URL is set to https:// rather than http://.Next select “Create New Store ” and follow the wizard:19

Smart Card Configuration for Citrix EnvironmentsJune 2016Here we create a store named “Smartcard”, this results in a Web site named “SmartcardWeb”being accessible from a web-browser.20

Smart Card Configuration for Citrix EnvironmentsJune 2016Note that the XenDesktop DDC should be configured for HTTPS by following the instructions toconfigure IIS. If this has been done, for example: StoreFront and the XenDesktop DDC arerunning on the same machine, then the Transport Type should be set to HTTPS and the addressis the same as that used in a Web browser: com puter.fqdn.com .21

Smart Card Configuration for Citrix EnvironmentsJune 2016Finally, configure the smart card authentication for this store, disabling any other options.22

Smart Card Configuration for Citrix EnvironmentsJune 2016Confirm that Smart card HTTPS authentication is workingFrom the domain joined machine where the smart card is inserted start Internet Explorer andconnect to:https://computer.fqdn/Citrix/SmartcardWebNote that the storename must have Web appended. The Web browser should request thesmart card PIN.23

Smart Card Configuration for Citrix EnvironmentsJune 2016Check that the fred@citrixtest.net can log in to StoreFront.Configuring the XenDesktop DDCIn a standard deployment, StoreFront uses the end user’s password credentials to authenticatethe end user to the XenDesktop DDC. With a smart card the XenDesktop server must beinstructed to “trust” the StoreFront server to validate the smart card.Note that this does not affect authentication to the end VDA, only the authentication for thesession brokering logic.Trusting Storefront to authenticate usersOn the DDC machine, run PowerShell as Administrator and type:Add- ‐PSSnapinCitrix.*Set- rt TrueThe broker will now “trust” the StoreFront server to correctly authenticate the user. Note thatthis may not be appropriate for all deployment options of StoreFront.Launching a smart card session from a web browserReturn to the machine where the smart card is inserted and launch a published Desktop. Oncelogged in, ensure that the smart card is correctly remoted by running:Certutil/scinfo24

Smart Card Configuration for Citrix EnvironmentsJune 2016Configuring Citrix Receiver for WindowsWhen run on domain joined machines, Internet Explorer should work without furtherconfiguration. For non-domain joined machines, Internet Explorer will display security warningsunless the domain root certificate into the computer’s Trusted Root Certificate store.Configuring the Citrix ReceiverLocate the Citrix Receiver icon in the Task bar and choose “Open” from the context menu:25

Smart Card Configuration for Citrix EnvironmentsJune 2016Enter https:// serverfqdn /Citrix/Smartcard (note that the SmartcardWeb extension is not usedhere). Check that the tool performs smart card prompts.As before, ensure that the connection launches and runs with an HDX connection by checkingthe output of certutil /scinfo.26

Smart Card Configuration for Citrix EnvironmentsJune 2016Firefox for WindowsDownload the opensc-xxxx-win32.m si installer from the OpenSC project website and install,checking the MD5 checksum of the downloaded file. Ensure that the OpenSC PKCS#11m odule is included in the installer.Note that the opensc-pkcs11.dll is installed to the c:\W indows\SysW OW 64\ directory on64bit Windows.Open Firefox’s Preferences dialog and go to the Advanced- Certificates tab. Select “SecurityDevices”:27

Smart Card Configuration for Citrix EnvironmentsJune 2016“Load” a new device named “OpenSC” and locate the opensc-pkcs11.dll fileFinally exit and restart Firefox to confirm that it can authenticate to the StoreFront server.28

Smart Card Configuration for Citrix EnvironmentsJune 2016Configuring Citrix Receiver for LinuxTo configure Citrix Receiver for Linux, including Rasperry Pi versions, ensure that the OpenSCpackage is installed: RedHat and derivatives:Debian and derivatives:sudoyuminstallpcsc- ‐liteopenscsudoapt- ‐getinstallpcscdopenscFor Linux Native ReceiverCitrix Receiver for Linux will automatically detect and configure smart cards through OpenSC.Older versions can be configured to use opensc-pkcs11.so through AuthManConfig.xml.Configure Firefox on LinuxOpen the Firefox preferences dialog. Select the “Security Devices” option inAdvanced/CertificatesClick “Load” and specify a new module name. Use “Browse” to locate the file“/usr/lib/pkcs11/opensc-pkcs11.so”29

Smart Card Configuration for Citrix EnvironmentsCheck that StoreFront for Web is functioning by restarting Firefox and visitinghttps://computer.fqdn/Citrix/SmartcardWeb .30June 2016

Smart Card Configuration for Citrix EnvironmentsJune 2016Configuring Citrix Receiver for OSXSmart card support in OSX is an optional add-on using packages that can be easily downloadedfrom an appropriate Web site. Always check the cryptographic identity of software beforeinstalling.Installing smart card support for SafariInstall the Apple Sm art Card Services package from sm artcardservices.m acosforge.org,ensuring that the files are correctly signed by Apple. PIV smart cards should automatically beavailable to Safari through the Keychain Access tool.Firefox on Mac OSXDownload the OpenSC installer for Mac OSX, ensuring that the files are correctly signed. Runthe install Wizard to install the PKCS#11 APIs:31

Smart Card Configuration for Citrix EnvironmentsOpen the Firefox preferences dialog. Select the “Security Devices” option inAdvanced/Certificates:The opensc-pkcs11.so library is installed in[/System ]/Library/OpenSC/lib/pkcs11/opensc-pkcs11.so.Exit and restart Firefox before checking that the smart card is working correctly.32June 2016

Smart Card Configuration for Citrix EnvironmentsJune 2016Configuring Citrix Receiver for Mac to use NetScaler AuthenticationIf you wish to use your smart card to authenticate with NetScaler, install OpenSC as described inthe “Firefox on Macintosh” section.Open Citrix Receiver and go to the “Citrix Receiver à Preferences ” GUI.The opensc-pkcs11.so library is installed in[/System ]/Library/OpenSC/lib/pkcs11/opensc-pkcs11.so.33

Smart Card Configuration for Citrix EnvironmentsJune 2016Configuring Citrix Receiver for ChromeOSSmart card support in ChromeOS is packaged as an extension in the Google Play Store. Thereare two components to install, the smart card connector and CACKey smart card driver.Installing the “Smart Card Connector”Install the Google Sm art Card Connector application. This provides direct access to thesmartcard reader:Installing the “CACKey” Smart Card driverCACKey is a leading OpenSource PIV middleware library that is available for ChromeOS:34

Smart Card Configuration for Citrix EnvironmentsJune 2016Once installed, reboot the ChromeOS device, insert the Yubikey and launch the Smart CardConnector first, followed by the CACKey extension.The web browser automatically uses the CACKey to authenticate to StoreFront:35

Smart Card Configuration for Citrix EnvironmentsJune 2016ReferencesPIV /standards.htmlNIST PIV test s.htmlYubikey wikiSC Services for yhttp://cackey.rkeene.org/fossil/index36

virtualization, mobility management, networking and SaaS solutions to enable new ways for businesses and people to work better. Citrix solutions power business mobility through secure, mobile workspaces that provide people with instant access to apps, desktops, data and

Related Documents:

There is no Citrix Client after update push for upgrade from Citrix Plug-in 11.2 to Citrix Receiver 3.3. Issue. SCCM successfully uninstalled Citrix Plug-in 11.2, but the install of Citrix Receiver 3.3 did not process. Resolution. Run the "Citrix Receiver 3.3 Up

Citrix Receiver 3.3 correctly, all older version of the Citrix Client must be uninstalled. The following steps should be taken to make sure The all old Citrix Clients are uninstalled, and then install the new Citrix Receiver 3.3. . Once you uninstall a

Verify Citrix Workspace version a. Click on the desktop to bring up Finder and then click "Applications" under the "Go" menu. b. Locate and click on "Citrix Workspace" and verify the version is at least 18.9.0. The Citrix client was recently renamed from Citrix Receiver to Citrix Workspace. If Citrix Receiver is currently installed

Citrix Receiver 使得圖示可置於 Windows � 開啟 Citrix Receiver︰ 在「開始」畫面,輸入 Citrix,然後選取搜尋結果中的 Citrix Receiver。 針對 Citrix Receiver 啟用單一登入 1. 解除安裝預先安裝的 Citrix Receiver。 2. 從 HP 支援網站下載 Citrix .

Bruksanvisning för bilstereo . Bruksanvisning for bilstereo . Instrukcja obsługi samochodowego odtwarzacza stereo . Operating Instructions for Car Stereo . 610-104 . SV . Bruksanvisning i original

Citrix Online Division 6500 Hollister Avenue Goleta, CA 93117, USA T 1 805 690 6400 www.citrix.com About Citrix Citrix Systems, Inc. (NASDAQ:CTXS) is a leading provider of virtual computing solutions that help people work and play from anywhere on any device. More than 230,000 enterprises rely on Citrix to create better ways for people, IT and .

Citrix Online Division 6500 Hollister Avenue Goleta, CA 93117, USA T 1 805 690 6400 About Citrix Citrix Systems, Inc. (NASDAQ:CTXS) is the leading provider of virtualization, networking and software as a service technologies for more than 230,000 organizations worldwide. Its Citrix Delivery Center, Citrix Cloud Center (C3) and Citrix Online .

Xoserve recommends users review and upgrade their Citrix receiver to a version compatible with Citrix XenApp 7.15 LTSR, current Citrix documentation recommends the use of Citrix Workspace app or Citrix receiver version 4.9 or later. Users who do not want to use or upgrade the Citrix receiver