Using the MyProxy Online Credential Repository Jim Basney National Center for Supercomputing Applications University of Illinois

Slides:



Advertisements
Similar presentations
GridWorld 2006 Use of MyProxy for the FusionGrid Mary Thompson Monte Goode GridWorld 2006.
Advertisements

National Center for Supercomputing Applications MyProxy and NVO or Web SSO for Grid Portals GlobusWorld 2006 Washington, DC, USA September 12, 2006 Mike.
MyProxy Jim Basney Senior Research Scientist NCSA
Experiences with Massive PKI Deployment and Usage Daniel Kouřil, Michal Procházka Masaryk University & CESNET Security and Protection of Information 2009.
Policy Based Dynamic Negotiation for Grid Services Authorization Infolunch, L3S Research Center Hannover, 29 th Jun Ionut Constandache Daniel Olmedilla.
Security Protocols Sathish Vadhiyar Sources / Credits: Kerberos web pages and documents contained / pointed.
MyProxy: A Multi-Purpose Grid Authentication Service
Grid Computing, B. Wilkinson, 20045a.1 Security Continued.
Grid Security Infrastructure Tutorial Von Welch Distributed Systems Laboratory U. Of Chicago and Argonne National Laboratory.
Lecture 2: Security Rachana Ananthakrishnan Argonne National Lab.
Lecture 23 Internet Authentication Applications
Jim Basney GSI Credential Management with MyProxy GGF8 Production Grid Management RG Workshop June.
Military Technical Academy Bucharest, 2006 GRID SECURITY INFRASTRUCTURE (GSI) - Globus Toolkit - ADINA RIPOSAN Department of Applied Informatics.
Grid Security. Typical Grid Scenario Users Resources.
Public Key Infrastructure (PKI) Providing secure communications and authentication over an open network.
DESIGNING A PUBLIC KEY INFRASTRUCTURE
PKI Single Sign On & Auto Provisioning Frank Siebenlist (ANL) Rachana Ananthakrishnan (ANL) Charles Bacon (ANL)
National Center for Supercomputing Applications Integrating MyProxy with Site Authentication Jim Basney Senior Research Scientist National Center for Supercomputing.
Kerberos and PKI Cooperation Daniel Kouřil, Luděk Matyska, Michal Procházka Masaryk University AFS & Kerberos Best Practices Workshop 2006.
National Center for Supercomputing Applications MyProxy and GSISSH Update Von Welch National Center for Supercomputing Applications University of Illinois.
Deploying the TeraGrid PKI Grid Forum Korea Winter Workshop December 1, 2003 Jim Basney Senior Research Scientist National Center for Supercomputing Applications.
Mar 12, 2002Mårten Trolin1 This lecture Diffie-Hellman key agreement Authentication Certificates Certificate Authorities SSL/TLS.
16.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft® Windows® Server 2003 Active Directory Infrastructure.
GGF15 Workshop MyProxy Integration with PubCookie Marty Humphrey*, Jim Jokl*, and Jim Basney** *Department of Computer Science, University of Virginia,
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign This material is based upon work supported by the National Science.
Chapter 7 HARDENING SERVERS.
Chapter 11: Active Directory Certificate Services
Federated Access to US CyberInfrastructure Jim Basney CILogon This material is based upon work supported by the National Science Foundation.
Use of Kerberos-Issued Certificates at Fermilab Kerberos  PKI Translation Matt Crawford & Dane Skow Fermilab.
Single Sign-On for Java Web Start Applications Using MyProxy Terry Fleury, Jim Basney, and Von Welch November 3, 2006.
MyProxy NMI Integration Jim Basney, NCSA Marty Humphrey, University of Virginia
Christopher Chapman | MCT Content PM, Microsoft Learning, PDG Planning, Microsoft.
TeraGrid ’06 National Center for Supercomputing Applications Managing Credentials on the TeraGrid with MyProxy Jim Basney.
National Computational Science National Center for Supercomputing Applications National Computational Science MyProxy: An Online Credential Repository.
Distributed Web Security for Science Gateways Jim Basney In collaboration with: Rion Dooley Jeff Gaynor
TeraGrid Science Gateways: Scaling TeraGrid Access Aaron Shelmire¹, Jim Basney², Jim Marsteller¹, Von Welch²,
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 22 – Internet Authentication.
Unit 1: Protection and Security for Grid Computing Part 2
Chapter 23 Internet Authentication Applications Kerberos Overview Initially developed at MIT Software utility available in both the public domain and.
Single Sign-on with Kerberos 1 Chris Eberle Ryan Thomas RC Johnson Kim-Lan Tran CS-591 Fall 2008.
Certificate-Based Operations. Module Objectives By the end of this module participants will be able to: Define how cryptography is used to secure information.
Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id:
Managing Credentials with MyProxy Jim Basney National Center for Supercomputing Applications University of Illinois
National Computational Science National Center for Supercomputing Applications National Computational Science NCSA-IPG Collaboration Projects Overview.
Module 9: Fundamentals of Securing Network Communication.
GridShib and MyProxy Grid Credential Management and Identity Federation Von Welch NCSA
E-science grid facility for Europe and Latin America E2GRIS1 Raúl Priego Martínez – CETA-CIEMAT (Spain)‏ Itacuruça (Brazil), 2-15 November.
CAS Lightning Talk Jasig-Sakai 2012 Tuesday June 12th 2012 Atlanta, GA Andrew Petro - Unicon, Inc.
An OGSI CredentialManager Service Jim Basney, Shiva Shankar Chetan, Feng Qin, Sumin Song, Xiao Tu National Center for Supercomputing Applications, University.
National Computational Science National Center for Supercomputing Applications National Computational Science Credential Management in the Grid Security.
Identity Federation and Attribute-based Authorization through the Globus Toolkit, Shibboleth, GridShib, and MyProxy Tom Barton 1, Jim Basney 2, Tim Freeman.
Grid Security: Authentication Most Grids rely on a Public Key Infrastructure system for issuing credentials. Users are issued long term public and private.
Part 9: MyProxy Pragmatics This presentation and lab ends the GRIDS Center agenda Q: When do we convene again tomorrow?
The MyProxy Online Credential Repository Jim Basney NCSA
National Computational Science National Center for Supercomputing Applications National Computational Science GSI Online Credential Retrieval Requirements.
Leveraging the InCommon Federation to access the NSF TeraGrid Jim Basney Senior Research Scientist National Center for Supercomputing Applications University.
Tools for Grid/Campus Integration: GridShib and MyProxy Internet2 Advanced Camp July 1, 2005 Von Welch
Security fundamentals Topic 5 Using a Public Key Infrastructure.
Fermilab CA Infrastructure EDG CA Managers Mtg June 13, 2003.
National Computational Science National Center for Supercomputing Applications National Computational Science Integration of the MyProxy Online Credential.
1 Grid School Module 4: Grid Security. 2 Typical Grid Scenario Users Resources.
Using the MyProxy Online Credential Repository Jim Basney National Center for Supercomputing Applications University of Illinois
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 12: Implementing Security.
The GRIDS Center, part of the NSF Middleware Initiative Grid Security Overview presented by Von Welch National Center for Supercomputing.
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.
Enabling Grids for E-sciencE gLite security pratical tutorial Dario Russo INFN Catania Catania,
1 Example security systems n Kerberos n Secure shell.
Grid Security.
Presentation transcript:

Using the MyProxy Online Credential Repository Jim Basney National Center for Supercomputing Applications University of Illinois

September 6, 2005http://myproxy.ncsa.uiuc.edu/2 What is MyProxy? l Independent Globus Toolkit add-on since 2000 u Included in Globus Toolkit 4.0 l A service for securing private keys u Keys stored encrypted with user-chosen password u Keys never leave the MyProxy server l A service for retrieving proxy credentials l A commonly-used service for grid portal security u Integrated with OGCE, GridSphere, and GridPort

September 6, 2005http://myproxy.ncsa.uiuc.edu/3 PKI Overview l Public Key Cryptography u Sign with private key, verify signature with public key u Encrypt with public key, decrypt with private key l Key Distribution u Who does a public key belong to? u Certification Authority (CA) verifies user’s identity and signs certificate u Certificate is a document that binds the user’s identity to a public key l Authentication u Signature [ h ( random, … ) ] Subject: CA signs Issuer: CA Subject: Jim Issuer: CA

September 6, 2005http://myproxy.ncsa.uiuc.edu/4 Proxy Credentials l RFC 3820: Proxy Certificate Profile l Associate a new private key and certificate with existing credentials l Short-lived, unencrypted credentials for multiple authentications in a session u Restricted lifetime in certificate limits vulnerability of unencrypted key l Credential delegation (forwarding) without transferring private keys CAUser Proxy A signs Proxy B signs

September 6, 2005http://myproxy.ncsa.uiuc.edu/5 Proxy Delegation DelegatorDelegatee Generate new key pair Sign new proxy certificate Proxy Proxy certificate request Proxy

September 6, 2005http://myproxy.ncsa.uiuc.edu/6 MyProxy System Architecture MyProxy server Credential repository Retrieve proxy Store proxy Proxy delegation over private TLS channel MyProxy client

September 6, 2005http://myproxy.ncsa.uiuc.edu/7 MyProxy: Credential Mobility myproxy.teragrid.org tg-login.uc.teragrid.org tg-login.caltech.teragrid.org tg-login.sdsc.teragrid.org tg-login.ncsa.teragrid.orgca.ncsa.uiuc.edu Obtain certificate Store proxy Retrieve proxy

September 6, 2005http://myproxy.ncsa.uiuc.edu/8 MyProxy and Grid Portals Portal MyProxy server GridFTP server Login Fetch proxy Access data

September 6, 2005http://myproxy.ncsa.uiuc.edu/9 MyProxy: User Registration MyProxy server Registration portal Certificate authority Request account Obtain user certificate Load user’s credentials Retrieve proxy Grid portal Login with username/password Set username/password ESG PURSE: Portal-based User Registration Service GAMA: Grid Account Management Architecture

September 6, 2005http://myproxy.ncsa.uiuc.edu/10 MyProxy: Key Upload/Download l Provides ability to store and retrieve keys and certificates directly over the network u Encrypted keys transferred over SSL/TLS encrypted channel u In contrast to using proxy delegation l Allows storing end-entity credentials l Key retrieval must be explicitly enabled by server administrator and key owner

September 6, 2005http://myproxy.ncsa.uiuc.edu/11 Credential Renewal l Long-lived jobs or services need credentials u Task lifetime is difficult to predict l Don’t want to delegate long-lived credentials u Fear of compromise l Instead, renew credentials as needed during the job’s lifetime u Renewal service provides a single point of monitoring and control l Renewal policy can be modified at any time u Disable renewals if compromise is detected or suspected u Disable renewals when jobs complete

September 6, 2005http://myproxy.ncsa.uiuc.edu/12 MyProxy: Credential Renewal MyProxy server Condor-G / Renewal Service Submit job Globus gatekeeper Submit job Retrieve proxy Refresh proxy Daniel Kouril and Jim Basney, "A Credential Renewal Service for Long-Running Jobs," 6th IEEE/ACM International Workshop on Grid Computing (Grid 2005), Seattle, WA, November 13-14, 2005.

September 6, 2005http://myproxy.ncsa.uiuc.edu/13 MyProxy Authentication l Key Passphrase l X.509 Certificate u Used for credential renewal l Pluggable Authentication Modules (PAM) u Kerberos password u One Time Password (OTP) u Lightweight Directory Access Protocol (LDAP) password l Simple Authentication and Security Layer (SASL) u Kerberos ticket (SASL GSSAPI)

September 6, 2005http://myproxy.ncsa.uiuc.edu/14 One Time Passwords (OTP) l Protect against stolen passwords l Hardware token generates OTP l Authenticate with OTP alone or combined with key passphrase l Tested with CryptoCard tokens at NCSA l Compatible with existing MyProxy clients

September 6, 2005http://myproxy.ncsa.uiuc.edu/15 Managing Trust Roots l Address challenge of keeping trust root configuration up-to-date across machines u CA certificates and CRLs l User’s trust roots can differ from site’s l myproxy-logon -T u Synchronizes contents of ~/.globus/certificates with MyProxy server

September 6, 2005http://myproxy.ncsa.uiuc.edu/16 MyProxy CA l MyProxy server issues short-lived certificates to authenticated clients u Leverage MyProxy authentication mechanisms u Compatible with existing MyProxy clients l Avoid managing long-lived user keys l Server can function as both CA and repository u Issue certificate if no credentials found for user Coming soon!

September 6, 2005http://myproxy.ncsa.uiuc.edu/17 MyProxy and Pubcookie l Combine web and grid single sign-on u Authenticate to MyProxy with Pubcookie granting cookie Coming soon! Jonathan Martin, Jim Basney, and Marty Humphrey, "Extending Existing Campus Trust Relationships to the Grid through the Integration of Pubcookie and MyProxy," 2005 International Conference on Computational Science (ICCS 2005), Emory University, Atlanta, GA, May 22-25, MyProxy server Pubcookie Login Server Campus Authentication Server Verify login Web Application Server Browser Retrieve proxy Redirect to authenticate and obtain granting cookie

September 6, 2005http://myproxy.ncsa.uiuc.edu/18 MyProxy Security l Keys encrypted with user-chosen passwords u Server enforces password quality u Passwords are not stored l Dedicated server less vulnerable than desktop and general-purpose systems u Professionally managed, monitored, locked down l Users retrieve short-lived credentials u Generating new proxy keys for every session l All server operations logged to syslog l Caveat: Private key database is an attack target u Compare with status quo

September 6, 2005http://myproxy.ncsa.uiuc.edu/19 Hardware-Secured MyProxy M. Lorch, J. Basney, and D. Kafura, "A Hardware-secured Credential Repository for Grid PKIs," 4th IEEE/ACM International Symposium on Cluster Computing and the Grid (CCGrid), April IBM 4758 MyProxy Server Retrieve proxy Proxy request Proxy certificate l Protect keys in tamper-resistant cryptographic hardware PKCS#11 Experimental

September 6, 2005http://myproxy.ncsa.uiuc.edu/20 MyProxy CoG Clients l Commodity Grid (CoG) Kits u Provide portable (Java, Python, and Perl) MyProxy client tools & APIs u Windows support l For more information: u

September 6, 2005http://myproxy.ncsa.uiuc.edu/21 MyProxy Commands l myproxy-init: store proxy l myproxy-logon: retrieve proxy l myproxy-info: query stored credentials l myproxy-destroy: remove credential l myproxy-change-pass-phrase: change password encrypting private key l myproxy-store: store credential l myproxy-retrieve: retrieve credential

September 6, 2005http://myproxy.ncsa.uiuc.edu/22 MyProxy Installation (Unix) l Included in GT 4.0 $ make gsi-myproxy; make install l As an add-on component to GT 3.x $ gpt-build myproxy*.tar.gz l Set $MYPROXY_SERVER environment variable to myproxy-server hostname $ export MYPROXY_SERVER=myproxy.ncsa.uiuc.edu l Set Globus Toolkit environment $. $GLOBUS_LOCATION/etc/globus-user-env.sh l Client installation/configuration complete!

September 6, 2005http://myproxy.ncsa.uiuc.edu/23 MyProxy Server Administration l Install server certificate and CA certificate(s) l Configure /etc/myproxy-server.config policy u Template provided with examples l Optionally: u Configure password quality enforcement u Install cron script to delete expired credentials l Install boot script and start server u Example boot script provided l Use myproxy-admin commands to manage server u Reset passwords, query repository, lock credentials

September 6, 2005http://myproxy.ncsa.uiuc.edu/24 MyProxy Server Policies l Who can store credentials? u Restrict to specific users or CAs u Restrict to administrator only l Who can retrieve credentials? u Allow anyone with correct password u Allow only trusted services / portals l Maximum lifetime of retrieved credentials server-wide and per-credential

September 6, 2005http://myproxy.ncsa.uiuc.edu/25 MyProxy Server Replication l Primary/Secondary model (like Kerberos) u If primary is down, fail-over to secondary for credential retrieval u Store, delete, and change passphrase on primary only u Client-side fail-over under development l Simple configuration u Run myproxy-replicate via cron u Alternatively, use rsync over ssh Coming soon!

September 6, 2005http://myproxy.ncsa.uiuc.edu/26 MyProxy and Standards l MyProxy protocol specification submitted to GGF recommendations track u Currently under steering group review l MyProxy uses: u IETF RFC 2246: Transport Layer Security (TLS) Protocol Version 1.0 u IETF RFC 3820: Internet X.509 PKI Proxy Certificate Profile u DCE RFC 86.0: Pluggable Authentication Modules (PAM) u IETF RFC 2222: Simple Authentication and Security Layer (SASL)

September 6, 2005http://myproxy.ncsa.uiuc.edu/27 Related Work l GT4 Delegation Service u Protocol based on WS-Trust and WSRF l UVA CredEx u WS-Trust credential exchange service l SACRED (RFC 3767) Credential Repository u l Kerberized Online CA (KX.509/KCA) u Kerberos -> PKI l Kerberos PKINIT u PKI -> Kerberos

September 6, 2005http://myproxy.ncsa.uiuc.edu/28 MyProxy Community l MyProxy is an open source, community project u Many contributions from outside NCSA l mailing list l Bug tracking: l Anonymous CVS access l Contributions welcome! u Feature requests, bug reports, patches, etc.

September 6, 2005http://myproxy.ncsa.uiuc.edu/29 Thank you! Questions/Comments? Contact: