Presentation is loading. Please wait.

Presentation is loading. Please wait.

Managing Credentials with MyProxy Jim Basney National Center for Supercomputing Applications University of Illinois

Similar presentations


Presentation on theme: "Managing Credentials with MyProxy Jim Basney National Center for Supercomputing Applications University of Illinois"— Presentation transcript:

1 http://myproxy.ncsa.uiuc.edu/ Managing Credentials with MyProxy Jim Basney National Center for Supercomputing Applications University of Illinois jbasney@ncsa.uiuc.edu

2 SC05http://myproxy.ncsa.uiuc.edu/2 What is MyProxy? l A service for managing X.509 PKI credentials u A credential repository and certificate authority l An Online Credential Repository u Issues short-lived X.509 Proxy Certificates u Long-lived private keys never leave the server l An Online Certificate Authority u Issues short-lived X.509 End Entity Certificates l Supporting multiple authentication methods u Passphrase, Certificate, PAM, SASL, Kerberos l Open Source Software u Included in Globus Toolkit 4.0 and CoG Kits u C, Java, Python, and Perl clients available

3 SC05http://myproxy.ncsa.uiuc.edu/3 MyProxy Logon l Authenticate to retrieve PKI credentials u End Entity or Proxy Certificate u Trusted CA Certificates u Certificate Revocation Lists (CRLs) l MyProxy maintains the user’s PKI context u Users don’t need to manage long-lived credentials u Enables server-side monitoring and policy enforcement (ex. passphrase quality checks) u CA certificates & CRLs updated automatically at login

4 SC05http://myproxy.ncsa.uiuc.edu/4 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)

5 SC05http://myproxy.ncsa.uiuc.edu/5 MyProxy Online Credential Repository l Stores X.509 End Entity and Proxy credentials u Private keys encrypted with user-chosen passphrases u Credentials may be stored directly or via proxy delegation u Users can store multiple credentials from different CAs l Access to credentials controlled by user and administrator policies u Set authentication requirements u Control whether credentials can be retrieved directly or if only proxy delegation is allowed u Restrict lifetime of retrieved proxy credentials l Can be deployed for a single user, a site, a virtual organization, a resource provider, a CA, etc.

6 SC05http://myproxy.ncsa.uiuc.edu/6 MyProxy Online Certificate Authority l Issues short-lived X.509 End Entity Certificates u Leverages MyProxy authentication mechanisms u Compatible with existing MyProxy clients l Ties in to site authentication and accounting u Using PAM and/or Kerberos authentication u “Gridmap” file maps username to certificate subject l LDAP support under development l Avoid need for long-lived user keys l Server can function as both CA and repository u Issues certificate if no credentials for user are stored

7 SC05http://myproxy.ncsa.uiuc.edu/7 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

8 SC05http://myproxy.ncsa.uiuc.edu/8 PKI Enrollment CAUser Generate new key pair Sign new end entity certificate User Certificate request CA User 1 2 3 4 CA

9 SC05http://myproxy.ncsa.uiuc.edu/9 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

10 SC05http://myproxy.ncsa.uiuc.edu/10 Proxy Delegation DelegatorDelegatee Generate new key pair Sign new proxy certificate Proxy Proxy certificate request Proxy 1 2 3 4

11 SC05http://myproxy.ncsa.uiuc.edu/11 MyProxy Repository MyProxy server Credential repository Retrieve proxy Store proxy Proxy delegation over private TLS channel MyProxy client

12 SC05http://myproxy.ncsa.uiuc.edu/12 MyProxy Certificate Authority MyProxy server Retrieve certificate Private TLS channel MyProxy client CA Site Authentication Service PAM

13 SC05http://myproxy.ncsa.uiuc.edu/13 MyProxy: Credential Mobility myproxy.teragrid.org tg-login.uc.teragrid.org tg-login.purdue.teragrid.org tg-login.sdsc.teragrid.org tg-login.ncsa.teragrid.orgca.ncsa.uiuc.edu Obtain certificate Store proxy Retrieve proxy tg-login.ornl.teragrid.org tg-login1.iu.teragrid.org tg-login.psc.teragrid.org

14 SC05http://myproxy.ncsa.uiuc.edu/14 MyProxy and Grid Portals

15 SC05http://myproxy.ncsa.uiuc.edu/15 User Registration Portals PURSE: Portal-based User Registration Service GAMA: Grid Account Management Architecture ESG

16 SC05http://myproxy.ncsa.uiuc.edu/16 MyProxy: Key Upload/Download l 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

17 SC05http://myproxy.ncsa.uiuc.edu/17 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

18 SC05http://myproxy.ncsa.uiuc.edu/18 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.

19 SC05http://myproxy.ncsa.uiuc.edu/19 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, 2005. MyProxy server Pubcookie Login Server Campus Authentication Server Verify login Web Application Server Browser Retrieve proxy Redirect to authenticate and obtain granting cookie

20 SC05http://myproxy.ncsa.uiuc.edu/20 Example: TeraGrid User Portal l Use TeraGrid-wide Kerberos username and password for portal authentication u Obtain PKI credentials for resource access across TeraGrid sites via portal & externally l Plan to use MyProxy CA with Kerberos PAM authentication u Leverage existing NCSA Online CA

21 SC05http://myproxy.ncsa.uiuc.edu/21 Example: LTER Grid Pilot Study l Build a portal for environmental acoustics analysis l Leverage existing LDAP usernames and passwords for portal authentication u Obtain PKI credentials for job submission and data transfer u Using MyProxy PAM LDAP authentication Long Term Ecological Research Network Information System

22 SC05http://myproxy.ncsa.uiuc.edu/22 Example: NERSC OTP PKI l Address usability issues for One Time Passwords u Obtain session credentials using OTP authentication l Prototyping MyProxy CA with PAM Radius authentication u ESnet Radius Authentication Fabric federates OTP authentication across sites National Energy Research Scientific Computing Center

23 SC05http://myproxy.ncsa.uiuc.edu/23 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

24 SC05http://myproxy.ncsa.uiuc.edu/24 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 2004. IBM 4758 MyProxy Server Retrieve proxy Proxy request Proxy certificate l Protect keys in tamper-resistant cryptographic hardware PKCS#11 Experimental

25 SC05http://myproxy.ncsa.uiuc.edu/25 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

26 SC05http://myproxy.ncsa.uiuc.edu/26 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

27 SC05http://myproxy.ncsa.uiuc.edu/27 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!

28 SC05http://myproxy.ncsa.uiuc.edu/28 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 http://sacred.sf.net/ l Kerberized Online CA (KX.509/KCA) u Kerberos -> PKI l Kerberos PKINIT u PKI -> Kerberos

29 SC05http://myproxy.ncsa.uiuc.edu/29 MyProxy Community l MyProxy is an open source, community project u Many contributions from outside NCSA l myproxy-users@ncsa.uiuc.edu mailing list l Bug tracking: http://bugzilla.ncsa.uiuc.edu/ l Anonymous CVS access :pserver:anonymous@cvs.ncsa.uiuc.edu:/CVS/myproxy l Contributions welcome! u Feature requests, bug reports, patches, etc. u Please report your experiences

30 SC05http://myproxy.ncsa.uiuc.edu/30 Thank you! Questions/Comments? Contact: jbasney@ncsa.uiuc.edu


Download ppt "Managing Credentials with MyProxy Jim Basney National Center for Supercomputing Applications University of Illinois"

Similar presentations


Ads by Google