1 Getting Started with TeraGrid Authentication Jeffrey P. Gardner Pittsburgh Supercomputing Center

Slides:



Advertisements
Similar presentations
Digital Certificate Installation & User Guide For Class-2 Certificates.
Advertisements

Installation & User Guide
Digital Certificate Installation & User Guide For Class-2 Certificates.
Digital Certificate Installation & User Guide For Class-2 Certificates.
Chapter One The Essence of UNIX.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Tutorial Getting started with GILDA.
Presentation Two: Grid Security Part Two: Grid Security A: Grid Security Infrastructure (GSI) B: PKI and X.509 certificates C: Proxy certificates D:
Grid Security. Typical Grid Scenario Users Resources.
1c.1 Assignment 2 Preliminaries Review Full details in assignment write-up. ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. Jan 24, 2007.
Summer School Certificates Diego Romano & Gilda Team.
AssignPrelim1.1 ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson. Course Preliminaries.
Use of Kerberos-Issued Certificates at Fermilab Kerberos  PKI Translation Matt Crawford & Dane Skow Fermilab.
1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.
Security Mechanisms The European DataGrid Project Team
1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2011 B. Wilkinson/Clayton Ferner. Fall 2011 Grid computing course. Modification.
ORNL is managed by UT-Battelle for the US Department of Energy Globus: Proxy Lifetime Endpoint Lifetime Oak Ridge Leadership Computing Facility.
Zach Miller Condor Project Computer Sciences Department University of Wisconsin-Madison Lockdown of a Basic Pool.
Asynchronous Web Services Approach Enrique de Andrés Saiz.
TeraGrid ’06 National Center for Supercomputing Applications Managing Credentials on the TeraGrid with MyProxy Jim Basney.
Zach Miller Condor Project Computer Sciences Department University of Wisconsin-Madison Securing Your Condor Pool With SSL.
Digital Certificate Installation & User Guide For Class - 2 Certificates.
Introduction to UNIX/Linux Exercises Dan Stanzione.
Quick Reference Guide Welcome TEST USER Version_NSU_ HELP RETIREMENT MANAGER DEMO FEEDBACK.
Panorama High School E.G.P./ Training to Put Students’ Grades on the Website Wednesday, September 29,
INFSO-RI Enabling Grids for E-sciencE Practicals on VOMS and MyProxy Emidio Giorgio INFN Retreat between GILDA and ESR VO, Bratislava,
Introducing... NPF Connect Press [Space Bar] to continue...
Customer Portal – Customer User. You will receive an indicating that your Customer Portal registration is complete. A link to the Customer Portal,
December 8 & 9, 2005, Austin, TX SURA Cyberinfrastructure Workshop Series: Grid Technology: The Rough Guide Grid Technology: The Rough Guide Grid Building.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
Instructors begin using McGraw-Hill’s Homework Manager by creating a unique class Web site in the system. The Class Homepage becomes the entry point for.
Unit 1: Protection and Security for Grid Computing Part 2
Nadia LAJILI User Interface User Interface 4 Février 2002.
National Computational Science National Center for Supercomputing Applications National Computational Science NCSA-IPG Collaboration Projects Overview.
© 2008 Pittsburgh Supercomputing Center So you have a TeraGrid Allocation What now?
Evolution of the Open Science Grid Authentication Model Kevin Hill Fermilab OSG Security Team.
August 13, 2003Eric Hjort Getting Started with Grid Computing in STAR Eric Hjort, LBNL STAR Collaboration Meeting August 13, 2003.
1 TeraGrid Data Transfer Jeffrey P. Gardner Pittsburgh Supercomputing Center
Exporting User Certificate from Internet Explorer.
Globus Toolkit Installation Report. What is Globus Toolkit? The Globus Toolkit is an open source software toolkit used for building Grid systems.
E-infrastructure shared between Europe and Latin America Security Hands-on Christian Grunfeld, UNLP 8th EELA Tutorial, La Plata, 11/12-12/12,2006.
INFSO-RI Enabling Grids for E-sciencE GILDA Practicals : Security systems GILDA Tutors Singapore, 1st South East Asia Forum -- EGEE.
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA Hands-on on security Pedro Rausch IF - UFRJ.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America Security Hands-on Vanessa.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Practicals on Security Miguel Cárdenas Montes.
E-infrastructure shared between Europe and Latin America Security Hands-on Alexandre Duarte CERN Fifth EELA Tutorial Santiago, 06/09-07/09,2006.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
Sponsored by the National Science Foundation Today’s Exercise.
Page 1 of 42 To the ETS – Create Client Account & Maintenance Online Training Course Individual accounts (called a Client Account) are subsets of the Site.
Initiating Teragrid Sessions Raghu Reddy. Outline Motivation Initial Setup –Certificates –Proxies –Grid-map file entries and DNs Softenv for customizing.
Hands on Security, Authentication and Authorization Virginia Martín-Rubio Pascual RedIRIS/Red.es Curso Grid y e-Ciencia.
EGI-InSPIRE RI Grid Training for Power Users EGI-InSPIRE N G I A E G I S Grid Training for Power Users Institute of Physics Belgrade.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) 马兰馨 IHEP, CAS Hands on gLite Security.
Enabling Grids for E-sciencE gLite security pratical tutorial Dario Russo INFN Catania Catania,
Maryknoll Wireless Network Access Steps for Windows 7 As of Aug 20, 2012.
Trusted Organizations In the grid world one single CA usually covers a predefined geographic region or administrative domain: – Organization – Country.
1 Example security systems n Kerberos n Secure shell.
Gateways security Aashish Sharma Security Engineer National Center for Supercomputing Applications (NCSA) University of Illinois at Urbana-Champaign.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
Welcome! To the ETS – Create Client Account & Maintenance
Getting Started with TeraGrid Authentication
TeraGrid Data Transfer
CRC exercises Not happy with the way the document for testbed architecture is progressing More a collection of contributions from the mware groups rather.
Certificate management Miroslav Dobrucký Institute of Informatics SAS
Assignment Preliminaries
Installation & User Guide
Presentation transcript:

1 Getting Started with TeraGrid Authentication Jeffrey P. Gardner Pittsburgh Supercomputing Center

2 CIG MCW, Boulder, CO Approaches to TeraGrid Use Log in interactively to a login node at a TeraGrid site and work from there no client software to install/maintain yourself execute tasks from your interactive session Work from your local workstation and authenticate remotely to TeraGrid resources comfort and convenience of working "at home" may have to install/maintain add'l TG software (Eventually we will better support this mode)

3 CIG MCW, Boulder, CO Without coordination of authentication between sites “Traditional” Password Authentication Acct[x], password[x] Acct[y], password[y] Acct[z], password[z] Acct[x], password[x] Acct[y], password[y]

4 CIG MCW, Boulder, CO Certificate-Based Authentication password[k] Certificate No Password

5 CIG MCW, Boulder, CO User Certificates for TeraGrid Why use certificates for authentication? Facilitates Single Sign-On enter your pass-phrase only once per session, regardless of how many systems and services that you access on the Grid during that session one pass-phrase to remember (to protect your private key), instead of one for each system Widespread Use and Acceptance certificate-based authentication is standard for modern Web commerce and secure services

6 CIG MCW, Boulder, CO New TeraGrid Account TODO List 1. Use Secure Shell (SSH) to log into a TeraGrid site 2. Change your Password WE'RE SKIPPING THIS STEP TODAY 3. Obtain a TeraGrid-acceptable User Certificate*, and install it in your home directory *assuming you do not already have one 4. Register your User Certificate in Globus grid-mapfile on TeraGrid systems 5. Test your User Certificate for Remote Authentication

7 CIG MCW, Boulder, CO 1. SSH to a TeraGrid Site  ssh (Enter the password provided when prompted to do so) STOP and await further instructions...

8 CIG MCW, Boulder, CO 2a. Change your Account Password Good Password Selection Rules Apply Do not use words that could be in any dictionary, including common or trendy misspellings of words Pick something easy for you to remember, but impossible for others to guess Pick something that you can learn to type quickly, using may different fingers Combine letters, digits, punctuation symbols and capitalization Never use the same password for two different systems, nor for two different accounts If you must write your password down, do so away from prying eyes and lock it securely away! WE'RE SKIPPING THIS STEP TODAY

9 CIG MCW, Boulder, CO 2b. Change your Account Password Means for changing local passwords vary among systems local password on Linux and similar operating systems passwd Kerberos environments (NCSA, PSC) kpasswd Systems managed using NIS yppasswd See site documentation for correct method WE'RE SKIPPING THIS STEP TODAY

10 CIG MCW, Boulder, CO 3a. User Certificate Request For this exercise, we will execute a command-line program to request a new TeraGrid User Certificate from the NCSA CA TeraGrid User Cert instructions (has links to instructions for all TG sites): NCSA CA User Cert instructions:

11 CIG MCW, Boulder, CO Execute the NCSA CA User Certificate request script > ncsa-cert-request (use your new password again to authenticate) STOP and await further instructions... 3c. User Certificate Request NCSA Kerberos

12 CIG MCW, Boulder, CO 3d. User Certificate Request When prompted, enter a Pass-phrase for your new certificate (and a second time to verify) A Pass-phrase may be a sentence with spaces Make it as long as you care to type "in the dark" Good password selection rules apply Write your pass-phrase down but store it securely! Never allow your passphrase to be discovered by others - especially since this gets you in to multiple systems... If you lose your pass-phrase, it cannot be recovered - you must get a new certificate

13 CIG MCW, Boulder, CO 3e. User Certificate Request The Certificate request script will place your new user certificate and private key into a.globus directory in your home directory > ls -la.globus total 24 drwxr-xr-x 3 train00 train Nov 17 13:45. drwx train00 train Oct 17 20:17.. -r--r--r-- 1 train00 train Nov 17 13:55 usercert.pem -r--r--r-- 1 train00 train Nov 17 13:50 usercert_request.pem -r train00 train Nov 17 13:50 userkey.pem Your Pass-phrase protects your private key

14 CIG MCW, Boulder, CO The ~/.globus directory The default location where a user’s private key and certificate are installed The directory in which Globus creates temporary subdirectories and files to handle grid job submission and file transfer $ ls -la ~/.globus total 24 drwxr-xr-x 3 train00 train Nov 17 13:45. drwx train00 train Oct 17 20:17.. -r--r--r-- 1 train00 train Nov 17 13:55 usercert.pem -r--r--r-- 1 train00 train Nov 17 13:50 usercert_request.pem -r train00 train Nov 17 13:50 userkey.pem

15 CIG MCW, Boulder, CO 3f. User Certificate Request Examine your new certificate > grid-cert-info -subject -startdate -enddate /C=US/O=National Center for Supercomputing Applications/CN=Jeffrey Gardner Jun 19 21:16: GMT Jun 18 21:16: GMT Your Certificate's Subject is your Certificate DN DN = Distinguished Name Distinguished Name

16 CIG MCW, Boulder, CO 3g. User Certificate Request Test Globus certificate proxy generation > grid-proxy-init -verify -debug User Cert File: /home/train00/.globus/usercert.pem User Key File: /home/train00/.globus/userkey.pem Trusted CA Cert Dir: /etc/grid-security/certificates Output File: /tmp/x509up_u500 Your identity: /C=US/O=National Center for Supercomputing Applications/CN=Training User00 Enter GRID pass phrase for this identity: (Enter your pass-phrase) Creating proxy Done Proxy Verify OK Your proxy is valid until: Sat Oct 18 08:39: > grid-proxy-destroy

17 CIG MCW, Boulder, CO Congratulations! You are now “certified” to use the TeraGrid Your certificate is your encrypted “ID badge” that identifies you to TeraGrid sites. Distinguished Name (your unique TeraGrid identity) Start date and end date X.509 encrypted key But before it will work, we need to tell TeraGrid sites (including NCSA) to accept it. Someday soon this will be done automatically

18 CIG MCW, Boulder, CO 4a. Registering your Distinguished Name in a TeraGrid system grid-mapfile Every TeraGrid system has /etc/grid- security/grid-mapfile This files maps your TeraGrid Distinguished Name to your local userid on that machine By the end of the summer, generating a new certificate will automatically cause grid-mapfile s on all TeraGrid machines to be updated with your Distinguished Name But at present, to use a new TeraGrid site, you must place an entry in that site’s grid-mapfile TeraGrid sites provide the gx-map command to simplify this registration process for users gx-map must be executed once per TeraGrid site accessed

19 CIG MCW, Boulder, CO 4b. Registering your Distinguished Name in the NCSA Globus grid-mapfile Recall your TeraGrid User Certificate DN (keep this somewhere copy-able) > grid-cert-info -subject /C=US/O=National Center for Supercomputing Applications/CN=Jeffrey Gardner (or something like this) Execute the gx-map command interactively > gx-map -interactive STOP and await further instructions...

20 CIG MCW, Boulder, CO 4c. Registering your Distinguished Name in the NCSA Globus grid-mapfile... (a) Add a grid-mapfile entry (r) Remove a grid-mapfile entry (q) Query a grid-mapfile entry (u) Request an update of the grid-mapfiles (x) Exit What do you want to do? [arqux] a (return) What user name do you want to map (default is username) ? (return) STOP and await further instructions... (This prompt may no longer appear)

21 CIG MCW, Boulder, CO 4d. Registering your Distinguished Name in the NCSA Globus grid-mapfile... (a) Add a grid-mapfile entry (r) Remove a grid-mapfile entry (q) Query a grid-mapfile entry (u) Request an update of the grid- mapfiles (x) Exit What do you want to do? [arqux] a (return) STOP and await further instructions...

22 CIG MCW, Boulder, CO 4e. Registering your Distinguished Name in the NCSA Globus grid-mapfile You can specify the DN in one of three ways: (c) Certificate, extract from /home/gardnerj/.globus/usercert.pem (f) File, extract from a specified certificate file (i) Input the DN directly (x) Exit How do you want to specify the DN? [cfix] i (return) Enter distinguished name: address ( for none):(return) STOP and await further instructions...

23 CIG MCW, Boulder, CO 4f. Registering your User Certificate in the NCSA Globus grid-mapfile Ignore the subsequent prompts - just press (return) until you get to: About to map distinguished name "/C=US/O=National Center for Supercomputing Applications/CN=Jeffrey Gardner" to user gardnerj Proceed? [yn] y (return) Mapping request submitted. The grid-mapfile(s) should be updated in a few minutes STOP and await further instructions...

24 CIG MCW, Boulder, CO 5a. Registering your Distinguished Name in a TACC grid-mapfile Recall your TeraGrid User Certificate DN (keep your DN somewhere copy-able ) > grid-cert-info -subject /C=US/O=National Center for Supercomputing Applications/CN=Jeffrey Gardner (or something like this) SSH to TACC the old fashioned way > ssh Execute the gx-map command interactively > gx-map -interactive STOP and await further instructions...

25 CIG MCW, Boulder, CO 5b. Registering your Distinguished Name in a TACC grid-mapfile... (a) Add a grid-mapfile entry (r) Remove a grid-mapfile entry (q) Query a grid-mapfile entry (u) Request an update of the grid- mapfiles (x) Exit What do you want to do? [arqux] a (return) STOP and await further instructions...

26 CIG MCW, Boulder, CO 5c. Registering your Distinguished Name in a TACC grid-mapfile You can specify the DN in one of three ways: (c) Certificate, extract from /home/gardnerj/.globus/usercert.pem (f) File, extract from a specified certificate file (i) Input the DN directly (x) Exit How do you want to specify the DN? [cfix] i (return) Enter distinguished name: address ( for none):(return) STOP and await further instructions...

27 CIG MCW, Boulder, CO 5d. Registering your User Certificate in the TACC Globus grid-mapfile Ignore the subsequent prompts - just press (return) until you get to: About to map distinguished name "/C=US/O=National Center for Supercomputing Applications/CN=Jeffrey Gardner" to user gardnerj Proceed? [yn] y (return) Mapping request submitted. The grid-mapfile(s) are updated at the beginning of each hour STOP and await further instructions...

28 CIG MCW, Boulder, CO 5e. Registering your User Certificate in the TACC Globus grid-mapfile Log out of TACC exit STOP and await further instructions...

29 CIG MCW, Boulder, CO Authentication Setup Summary Certificate generation (Step 3) is done only once for the entire TeraGrid! Until your certificate expires after 2 years, or you delete your.globus directory

30 CIG MCW, Boulder, CO Authentication Setup Summary Updating /etc/grid-security/grid-mapfile (Step 4) is done the first time you use each TeraGrid site. How this is done depends on the site: NCSA, TACC, SDSC, Caltech/CACR, IU, US/ANL: gx-map PSC: Edit grid-mapfile directly using webpage

31 CIG MCW, Boulder, CO 6. Verifying your User Certificate in a TeraGrid system Globus grid-mapfile Login to TeraGrid system Check that your certificate DN and user account name have been entered into the local host's grid-mapfile > grep -i userid /etc/grid-security/grid-mapfile "/C=US/O=National Center for Supercomputing Applications/CN=Jeff Gardner" gardnerj STOP and await further instructions...

32 CIG MCW, Boulder, CO Questions Phew! Any Questions regarding TeraGrid User Certificates and Authentication?

33 CIG MCW, Boulder, CO Links Obtaining TeraGrid User Certificates TeraGrid Certificate and DN setup TeraGrid Proxy setup TeraGrid User Guide