INFSO-RI-508833 Enabling Grids for E-sciencE www.eu-egee.org Authorisation and Authentication in gLite Mike Mineter National e-Science Centre, Edinburgh.

Slides:



Advertisements
Similar presentations
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using EGEE middleware: AA and simple job submission.
Advertisements

Introduction of Grid Security
The National Grid Service and OGSA-DAI Mike Mineter
Policy Based Dynamic Negotiation for Grid Services Authorization Infolunch, L3S Research Center Hannover, 29 th Jun Ionut Constandache Daniel Olmedilla.
Public Key Infrastructure A Quick Look Inside PKI Technology Investigation Center 3/27/2002.
Liang ZHAO, PKU EUChinaGrid 3 rd Tutorial Nov.25, 2006 Authentication and Authorization in gLite Liang ZHAO Peking University.
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 23 Internet Authentication Applications
Grid Security. Typical Grid Scenario Users Resources.
E-science grid facility for Europe and Latin America A Data Access Policy based on VOMS attributes in the Secure Storage Service Diego Scardaci.
The Community Authorisation Service – CAS Dr Steven Newhouse Technical Director London e-Science Centre Department of Computing, Imperial College London.
Security NeSC Training Team International Summer School for Grid Computing, Vico Equense,
INFSO-RI Enabling Grids for E-sciencE Security, Authorisation and Authentication Mike Mineter Training, Outreach and Education National.
GLite authentication and authorization Discipline: Grid Computing, 07/08-2 Practical classes Inês Dutra, DCC/FCUP.
\ Grid Security and Authentication1. David Groep Physics Data Processing group Nikhef.
GRID workshop Enabling Grids for E-sciencE iag.iucc.ac.il PKI, Certificates and CAs – Oh My! Hank Nussbacher Israel InterUniversity Computation.
Enabling Grids for E-sciencE Security on gLite middleware Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi (Vietnam) November 5th, 2007.
INFSO-RI Enabling Grids for E-sciencE Practicals on VOMS and MyProxy Emidio Giorgio INFN Retreat between GILDA and ESR VO, Bratislava,
INFSO-RI Enabling Grids for E-sciencE EGEE Security Basics for the User Guy Warner NeSC Training Team An Induction to EGEE for GOSC.
INFSO-RI Enabling Grids for E-sciencE gLite Data Management Services - Overview Mike Mineter National e-Science Centre, Edinburgh.
INFSO-RI Enabling Grids for E-sciencE Getting Started Guy Warner NeSC Training Team Induction to Grid Computing and the National.
Security APIs in LCG-2 Andrea Sciabà LCG Experiment Integration and Support CERN IT.
Chapter 23 Internet Authentication Applications Kerberos Overview Initially developed at MIT Software utility available in both the public domain and.
INFSO-RI Enabling Grids for E-sciencE Sofia, 22 March 2007 Security, Authentication and Authorisation Mike Mineter Training, Outreach.
E-science grid facility for Europe and Latin America E2GRIS1 Raúl Priego Martínez – CETA-CIEMAT (Spain)‏ Itacuruça (Brazil), 2-15 November.
Security, Authorisation and Authentication.
Enabling Grids for E-sciencE Authentication & Authorization Assaf Gottlieb Material from: Andrea Sciabà Åke Edlund, JRA3 Manager, KTH David.
INFSO-RI Enabling Grids for E-sciencE VOMS architecture Valerio Venturi, Vincenzo Ciaschini INFN First gLite tutorial on GILDA,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Next steps with EGEE EGEE training community.
June 24-25, 2008 Regional Grid Training, University of Belgrade, Serbia Introduction to gLite gLite Basic Services Antun Balaž SCL, Institute of Physics.
INFSO-RI Enabling Grids for E-sciencE GILDA Practicals : Security systems GILDA Tutors Singapore, 1st South East Asia Forum -- EGEE.
INFSO-RI Enabling Grids for E-sciencE Security in gLite Gergely Sipos MTA SZTAKI With thanks for some slides to.
EGEE-II INFSO-RI Enabling Grids for E-sciencE The GILDA training infrastructure.
INFSO-RI Enabling Grids for E-sciencE Installing a gLite VOMS Server Giuseppe La Rocca INFN EGEE Tutorial Rome November 2005.
INFSO-RI Enabling Grids for E-sciencE Installing a gLite VOMS server Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand.
Security fundamentals Topic 5 Using a Public Key Infrastructure.
Authorisation, Authentication and Security Guy Warner NeSC Training Team Induction to Grid Computing and the EGEE Project, Vilnius,
EGEE is a project funded by the European Union under contract IST Grid computing Assaf Gottlieb Tel-Aviv University assafgot tau.ac.il
Hands-on security Angelines Alberto Morillas Ciemat.
DTI Mission – 29 June LCG Security Ian Neilson LCG Security Officer Grid Deployment Group CERN.
EGEE-II INFSO-RI Enabling Grids for E-sciencE MyProxy - a brief introduction.
Security, Authorisation and Authentication Mike Mineter, Guy Warner Training, Outreach and Education National e-Science Centre
WLCG Authentication & Authorisation LHCOPN/LHCONE Rome, 29 April 2014 David Kelsey STFC/RAL.
INFSO-RI Enabling Grids for E-sciencE Authorisation and Authentication in gLite Mike Mineter National e-Science Centre, Edinburgh.
INFSO-RI Enabling Grids for E-sciencE VOMS & MyProxy interaction Emidio Giorgio INFN NA4 Generic Applications Meeting 10 January.
The GRIDS Center, part of the NSF Middleware Initiative Grid Security Overview presented by Von Welch National Center for Supercomputing.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Using Certificate & Simple Job Submission Jinny Chien ASGC.
Security in WLCG/EGEE. Security – January Requirements Providers of resources (computers, storages, databases, services..) need risks to.
Hands-on security Carlos Fuentes RedIRIS Madrid,26 – 30 de Octubre de 2008.
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.
Enabling Grids for E-sciencE gLite security pratical tutorial Dario Russo INFN Catania Catania,
INFSO-RI Enabling Grids for E-sciencE Authorisation and Authentication Dr. Mike Mineter National e-Science Centre, Edinburgh / UK.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Overview of gLite, the EGEE middleware Mike Mineter Training Outreach Education National.
Security, Authentication and Authorization Virginia Martín-Rubio Pascual RedIRIS/Red.es Curso Grid y e-Ciencia 2010, Valencia.
The NGS Portal Guy Warner NeSC Training.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Authentication, Authorisation and Security Mike Mineter, National e-Science Centre.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Authentication, Authorisation and Security Emidio Giorgio INFN Catania.
Antonio Fuentes RedIRIS Barcelona, 15 Abril 2008 The GENIUS Grid portal.
INFSO-RI Enabling Grids for E-sciencE Sofia, 17 March 2009 Security, Authentication and Authorisation Mike Mineter Training, Outreach.
(Exchange Programme to advance e-Infrastructure Know-How) The EPIKH Project Hailong Yang
Security, Authorisation and Authentication Mike Mineter,
Security in gLite Gergely Sipos MTA SZTAKI
Authentication, Authorisation and Security
Grid Security.
Security, Authorisation and Authentication
Grid Security Jinny Chien Academia Sinica Grid Computing.
Update on EDG Security (VOMS)
Grid Security M. Jouvin / C. Loomis (LAL-Orsay)
Presentation transcript:

INFSO-RI Enabling Grids for E-sciencE Authorisation and Authentication in gLite Mike Mineter National e-Science Centre, Edinburgh Tokyo, 25 August 2005

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Acknowledgements This presentation includes slides taken from the following talks: –Roberto Barbera at ISSGC05, Vico Equense, July –Richard Sinnott at ISSGC05, Vico Equense, July 2005 –Carl Kesselman, at ISSGC04, Vico Equense, July –David Fergusson at EMBRACE/EGEE Tutorial, Clermont Ferrand, July –Joachim Flammer at EMBRACE Tutorial, Clermont-Ferrand, July 2005 Also information from: –Globus Alliance: GT4 Security: Key concepts –

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Outline Why Authorisation and Authentication (AA) are the basis of grids Authentication: “AuthN” –“Are you who you claim to be?” Delegation: building distributed systems dynamically Authorisation: “AuthZ” –“What are you allowed to do?” MyProxy: management of certificates

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Requirements for AuthN and AuthZ Support multiple VOs across –Administrative domains –National borders –Via Internet Single sign-on –Multiple services –Delegation Scalability: –N,000 users –M,000 CPUs –Without M*N million usernames / passwords… Security INTERNET

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Authentication and X.509 certificates

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August AA and Certificates X 509 Digital certificate is the basis of AA in EGEE Certification Authorities (CAs) –~one per country; builds network of “Registration Authorities” who issue certificates CAs are mutually recognized – to enable international collaboration – International Grid Trust Federation For Asia-Pacific region CAs: CA certificates – issued to –Users: you get a Certificate and use it to access grid services –Sites providing resources Uses Public Key Infrastructure –Private key – known only to you –Public key included in your certificate

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Public Key Infrastructure Basis for authentication, integrity, confidentiality, non-repudiation Asymmetric encryption Digital signatures –A hash derived from the message and encrypted with the signer’s private key –Signature checked decrypting with the signer’s public key Allows key exchange in an insecure medium using a trust mode –Keys trusted only if signed by a trusted third party (Certification Authority) –A CA certifies that a key belongs to a given principal Certificate: held in two parts –Public key + principal information + CA signature –Private key: only the owner (should) use this Encrypted text Private Key Public Key Clear text message

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August X.509 Certificates An X.509 Certificate contains: –o–owner’s public key; –i–identity of the owner; –i–info on the CA; –t–time of validity; –S–Serial number; –d–digital signature of the CA Public key Subject:C=CH, O=CERN, OU=GRID, CN=Andrea Sciaba 8968 Issuer: C=CH, O=CERN, OU=GRID, CN=CERN CA Expiration date: Aug 26 08:08: GMT Serial number: 625 (0x271) CA Digital signature Structure of a X.509 certificate

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Certificate Validity The public key from the CA certificate can then be used to verify the certificate. Name Issuer: CA Public Key Signature =? Name: CA Issuer: CA CA’s Public Key CA’s Signature slide based on presentation given by Carl Kesselman at GGF Summer School 2004 Decrypt CA

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Grid Security Infrastructure (GSI) de facto standard for Grid middleware Based on PKI To support…. –Single sign-on: to a machine on which your certificate is held –Delegation: a service can act on behalf of a person –Mutual authentication: both sides must authenticate to the other ….GSI introduces proxy certificates –Short-lived certificates signed with the user’s certificate or a proxy –Reduces security risk, enables delegation CA and user included in the proxy.... See practical later

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August The Grid Security Infrastructure (GSI) every user/host/service has an X.509 certificate; certificates are signed by trusted (by the local sites) CA’s; every Grid transaction is mutually authenticated: 1. A sends his certificate; 2. B verifies signature in A’s certificate; 3. B sends to A a challenge string; 4. A encrypts the challenge string with his private key; 5. A sends encrypted challenge to B 6. B uses A’s public key to decrypt the challenge. 7. B compares the decrypted string with the original challenge 8. If they match, B verified A’s identity and A can not repudiate it. A B A’s certificate Verify CA signature Random phrase Encrypt with A’ s private key Encrypted phrase Decrypt with A’ s public key Compare with original phrase Based on X.509 PKI: VERY IMPORTANT Private keys Private keys must be stored only: protected in protected placesAND encrypted in encrypted form

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Use Delegation to Establish Dynamic Distributed System Compute Center VO Service slide based on presentation given by Carl Kesselman at GGF Summer School 2004

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August User Authorisation to Access Resource slide based on presentation given by Carl Kesselman at GGF Summer School 2004

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Authentication, Authorisation in LCG Authentication –User certificate signed by CA –Connects to UI by ssh –Downloads certificate –Invokes Proxy server –Single logon – to UI - then Grid Security Infrastructure identifies user to other machines Authorisation –User joins Virtual Organisation –VO negotiates access to Grid nodes and resources –Authorisation tested by CE –gridmapfile maps user to local account UI CA VO mgr Personal/ once VO database Gridmapfiles on CE GSI VO service Daily update LCG

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August “Compute element” “Worker nodes” Local resource management system: Condor / PBS / LSF master Globus gatekeeper Job request Info system Logging gridmapfile I.S. Logging

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Building on AuthN Authorisation… What are you allowed to do? … and how is this controlled?? In gLite the answer will be VOMS Virtual Organisation Management System

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August EGEE VO management face to face LCG User is authorised as a member of a single VO All VO members have same rights Gridmapfiles are updated by VO management software: map the user’s DN to a local account grid-proxy-init gLite, using VOMS In future… User can be in multiple VOs –Aggregate rights VO can have groups –Different rights for each  Different groups of experimentalists  … –Nested groups VO has roles –Assigned to specific purposes  E,g. system admin  When assume this role Proxy certificate carries the additional attributes voms-proxy-init

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August VOMS: virtual organisation management system single login using voms-proxy-init only at the beginning of the session (was grid-proxy-init) backward compatibility: the extra VO related information is in the user's proxy certificate, which can be still used with non VOMS-aware services multiple VOs: the user may "log-in" into multiple VOs and create an aggregate proxy certificate, which enables her to access resources in any of them

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Introduction to VOMS VOMS Features –Single login using (proxy-init) only at the beginning of a session  Attaches VOMS attributes to user proxy –Expiration time  The authorization information is only valid for a limited period of the time as the proxy certificate itself –Multiple VO  User may log-in into multiple VOs and create an aggregate proxy certificate, which enables him/her to access resources in any one of them –Backward compatibility  The extra VO related information is in the user’s proxy certificate  User’s proxy certificate can be still used with non VOMS-aware service –Security  All client-server communications are secured and authenticated

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Groups The number of users of a VO can be very high: –E.g. the experiment ATLAS has 2000 members Make VO manageable by organizing users in groups: –VO BIOMED-FRANCE  Group Paris Sorbonne University oGroup Prof. de Gaulle Central University  Group Lyon  Group Marseille Groups can have a hierarchical structure Group membership is added automatically to your proxy when doing a voms-proxy-init

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Groups rights Assign rights to certain members of the groups –using Access Control Lists (ACL) like in a file system  Allow / Deny Create user Delete user Get ACL Set ACL List user Remove ACL –Specifying unit for entry:  The local database administrator  A specific user (not necessarily a member of this VO)  Anyone who has a specific VOMS attribute FQAN  Anyone who presents a certificate issued by a known CA (Including host and service certificates)  Absolutely anyone, even unauthenticated clients

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Roles Roles are specific roles a user has and that distinguishes him from others in his group: –Software manager –Administrator –Manager Difference between roles and groups: –Roles have no hierarchical structure – there is no sub-role –Roles are not used in ‘normal operation’  They are not added to the proxy by default when running voms-proxy-init  But they can be added to the proxy for special purposes when running voms-proxy-init Example: –User Yannick has the following membership  VO=BIOMED-FRANCE, Group=Paris, Role=SoftwareManager –During normal operation the role is not taken into account, e.g. Yannick can work as a normal user –For special things he can obtain the role “Software Manager”

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August gLite VOMS Authz DB is a RDBMS (both MySQL and Oracle are currently supported).

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August “MyProxy” You may need: –To interact with a grid from many machines  And you realise that you must NOT, EVER leave your certificate where anyone can find and use it…. Its on a USB drive only. –To use a portal, and delegate to the portal the right to act on your behalf (by logging in to an account that can make a proxy certificate for you) –To run jobs that might last longer than the lifetime of a short-lived proxy Solution: you can store a long-lived proxy in a “MyProxy repository” and derive a proxy certificate when needed.

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Grid authentication with MyProxy UI Local WS MyProxy Server GENIUS Server (UI) grid-proxy-init myproxy-init any grid service myproxy-get-delegation output the Grid execution WEB Browser

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August MyProxy Consists of a server and a set of client tools that can be used to delegate and retrieve credentials to and from a server. MyProxy Client commands: myproxy-init myproxy-info // myproxy-info -s -d myproxy-destroy myproxy-get-delegation // myproxy-get-delegation -s -d –t -o -a myproxy-change-pass-phrase The myproxy-init command allows you to create and send a delegated proxy to a MyProxy server for later retrieval; in order to launch it you have to assure you’re able to execute the grid-proxy-init or vomsproxy-init command. myproxy-init -s -t -d –n The myproxy-init command stores a user proxy in the repository specified by (the –s option). Default lifetime of proxies retrieved from the repository will be set to (see -t) and no password authorization is permitted when fetching the proxy from the repository (the -n option). The proxy is stored under the same user-name as is your subject in your certificate (-d).

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Summary -1 Digital credentials and the “Grid Security Infrastructure” (GSI) are the basis of AuthN and AuthZ Need to establish trust, so  Resource can trust user  User can trust the resource The basis: –both users and sites trust Certificate Authorities –CAs trust each other –CAs sign user and site certificates Protect your certificate: it is your grid identity

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August Summary -2 The EGEE multi-VO grid is built on –Authentication based on X.509 digital certificates  Issued by CAs that are internationally recognised (hence we can have international collaboration)  With proxy extensions –Authorisation  gLite will be using VOMS – not yet, in GILDA VOMS supports –multiple groups, roles within a VO –Aggregation of rights by a user who is a member of several VOs MyProxy –Secure storage of certificates and proxies –Delegation so services can create and use a proxy on your behalf

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August User Responsibilities Keep your private key secure. Do not loan your certificate to anyone. Report to your local/regional contact if your certificate has been compromised. Do not launch a delegation service for longer than your current task needs. If your certificate or delegated service is used by someone other than you, it cannot be proven that it was not you. IT IS YOUR PASSPORT AND CREDIT CARD

Enabling Grids for E-sciencE INFSO-RI Authorisation and Authentication in gLite, Tokyo, August References VOMS Available at Alfieri, Cecchini, Ciaschini, Spataro, dell'Agnello, Fronher, Lorentey, From gridmap-file to VOMS: managing Authorization in a Grid environment Vincenzo Ciaschini, A VOMS Attribute Certificate Profile for Authorization GSI Available at A Security Architecture for Computational Grids. I. Foster, C. Kesselman, G. Tsudik, S. Tuecke. Proc. 5th ACM Conference on Computer and Communications Security Conference, pp , A National-Scale Authentication Infrastructure. R. Butler, D. Engert, I. Foster, C. Kesselman, S. Tuecke, J. Volmer, V. Welch. IEEE Computer, 33(12):60-66, RFC S.Farrell, R.Housley, An internet Attribute Certificate Profile for Authorization, RFC 3281