GSI with OpenSSL. Vincenzo Ciaschini. Prague, 4-7/11/08. www.eu-egee.org. EGEE and glite are registered trademarks. egee EGEE-II INFSO-RI-031688



Similar documents
Direct Issuance of Proxy Certificate on P-GRADE Grid Portal Without Using MyProxy

GT 6.0 GSI C Security: Key Concepts

How to Determine the Proxy Extension of a Grid Trust

IT/CZ cluster meeting, Milano, September 23 24, CESNET Report. Aleš Křenek et al.

EMI Storage meets EMI security

The glite File Transfer Service

Concepts and Architecture of the Grid. Summary of Grid 2, Chapter 4

IVOA Single-Sign-On Profile: Authentication Mechanisms Version 2.0

Security OpenSSL SSL. Roberta Daidone.

The ENEA gateway approach providing EGEE/gLite access to unsupported platforms and operating systems

Authorize.net modules for oscommerce Online Merchant.

glibrary: Digital Asset Management System for the Grid

Stripe. Chapters. Copyright. Authors. Stripe modules for oscommerce Online Merchant. oscommerce Online Merchant v2.3

The ENEA-EGEE site: Access to non-standard platforms

Enabling SSL and Client Certificates on the SAP J2EE Engine

2 Transport-level and Message-level Security

Globus Toolkit: Authentication and Credential Translation

How to Prepare Your Salesforce Service for Certificate Changes

/ Preparing to Manage a VMware Environment Page 1

IVOA Single Sign-On security

Apache, SSL and Digital Signatures Using FreeBSD

Execution Management: Key Concepts

openssl egg Bindings to the OpenSSL SSL/TLS library Extension for Chicken Scheme Version Thomas Chust

Angel Dichev RIG, SAP Labs

Plateforme de Calcul pour les Sciences du Vivant. SRB & glite. V. Breton.

WatchDox SharePoint Beta Guide. Application Version 1.0.0

The Security Framework 4.1 Programming and Design

TELNET CLIENT 5.0 SSL/TLS SUPPORT

EMC Celerra Version 5.6 Technical Primer: Public Key Infrastructure Support

How to Resolve the POODLE Vulnerability in Native Connection to Oracle

PowerShell Configuration Guide

USING SSL/TLS WITH TERMINAL EMULATION

Cloud Computing. Lecture 5 Grid Security

EUROPEAN MIDDLEWARE INITIATIVE

Encrypted Connections

[SMO-SFO-ICO-PE-046-GU-

GRIP:Creating Interoperability between Grids

How To Configure The Jasig Casa Single Sign On On A Workstation On Ahtml.Org On A Server On A Microsoft Server On An Ubuntu (Windows) On A Linux Computer On A Raspberry V

Specific recommendations

Using the VOM portal to manage policy within Globus Toolkit, Community Authorisation Service & ICENI resources

Using etoken for SSL Web Authentication. SSL V3.0 Overview

ACE Management Server Deployment Guide VMware ACE 2.0

Using the MyProxy Online Credential Repository

GRID COMPUTING Techniques and Applications BARRY WILKINSON

How do I load balance FTP on NetScaler?

BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: Security Note

A Java API for X.509 Proxy Certificates

Analyses on functional capabilities of BizTalk Server, Oracle BPEL Process Manger and WebSphere Process Server for applications in Grid middleware

SSL implementieren aber sicher!

Management. Purdue University. CHEP Mar 2009, Prague, Czech Republic

TRUST RELATIONSHIPS AND SINGLE SIGN-ON IN GRID BASED DATA WAREHOUSES

Administering the Web Server (IIS) Role of Windows Server

Managing Credentials with

TOG & JOSH: Grid scheduling with Grid Engine & Globus

Data Grids. Lidan Wang April 5, 2007

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on Mail Tab.

Usage of Evaluate Client Certificate with SSL support in Mediator and CentraSite

An approach to grid scheduling by using Condor-G Matchmaking mechanism

A Credential Renewal Service for Long-Running Jobs

Globus Toolkit Firewall Requirements. Abstract

Overview of Web Services API

Copyright 2014 Jaspersoft Corporation. All rights reserved. Printed in the U.S.A. Jaspersoft, the Jaspersoft

HP Device Manager 4.7

FileMaker Server 11. FileMaker Server Help

GridFTP: A Data Transfer Protocol for the Grid

HTTPS Configuration for SAP Connector

Contents at a Glance. 1 Introduction Basic Principles of IT Security Authentication and Authorization in

GridSite security update

SSL Tunnels. Introduction

IGI Portal architecture and interaction with a CA- online

Esqu Science Experiments For Computer Network

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

Open EMS Suite. O&M Agent. Functional Overview Version 1.2. Nokia Siemens Networks 1 (18)

Leveraging Cloud Storage Through Mobile Applications Using Mezeo Cloud Storage Platform REST API. John Eastman Mezeo

DIGIPASS Authentication for Check Point Connectra

Apache Security with SSL Using Ubuntu

ENABLING RPC OVER HTTPS CONNECTIONS TO M-FILES SERVER

Binonymizer A Two-Way Web-Browsing Anonymizer

DIGIPASS Authentication for Cisco ASA 5500 Series

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

Implementing SSL Security on a PowerExchange Network

irods and Metadata survey Version 0.1 Date March Abhijeet Kodgire 25th

File Transfer Software and Service SC3

KMIP installation Guide. DataSecure and KeySecure Version SafeNet, Inc

High Availability CAS

This section includes troubleshooting topics about certificates.

StreamServe Persuasion SP5 Encryption and Authentication

Regional Dashboard. Cyril L Orphelin - CNRS/IN2P3 Abingdon, England. EGEE and glite are registered trademarks

Get Success in Passing Your Certification Exam at first attempt!

Set Up Setup with Microsoft Outlook 2007 using POP3

Improved Credential and SSL Configuration for EE 7

EUROPEAN MIDDLEWARE INITIATIVE

Upgrading from Call Center Reporting to Reporting for Contact Center. BCM Contact Center

Certificate technology on Pulse Secure Access

Configuration Guide BES12. Version 12.2

How To Build A Cloud Computing And Healthcare Based Platform For A Mobile Health Care System

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on. User Information

Grid Security : Authentication and Authorization

Acano solution. Security Considerations. August E

Certificates in a Nutshell. Jens Jensen, STFC Leader of EUDAT AAI TF

Transcription:

GSI with OpenSSL Vincenzo Ciaschini EGEE-3 All-Hands Prague, 4-7/11/08 www.eu-egee.org egee EGEE and glite are registered trademarks

Layout GSI/SSL Differences and Issues VOMS without Globus

GSI/SSL Differences and Issues Enabling Grids for E-sciencE Issue 1: What is GSI? GSI = SSL(+ proxy) + (Delegation) So, if you do not use Delegation, you are fully compatible with SSL Well, almost but no. GSI = SSL(+ proxy) + extra_ message + (Delegation) SSL means SSL3, not SSL2 nor TLS. Where extra_message is: 0 No delegation. D Delegation follows. Your SSL server should expect this message if it wants to stay compatible with GSI Your SSL client must send this message it if wants to speak to a GSI server. But is not there the GSS_C_GLOBUS_SSL_COMPATIBLE flag? No. Only works reliably with gss_*() calls, not with gss_assist_*() calls. So, always send that message.

GSI/SSL Differences and Issues Enabling Grids for E-sciencE Issue 2: What to do with proxies? Proxies are not normally considered valid certificates. OpenSSL verification must be extended with a custom validator. See the one in src/sslutils. What kinds of proxies do you want to support? GT2, GT3, or GT4? Globus only supports GT2 and GT3, or GT2 and GT4. (last checked in GT 4.0.4) 4) Verification is simple Check if the certificate is a proxy. If so: Check the critical extensions. o Check if the ProxyCertInfo extension is respected. Check if the certificate was signed by the previous one in the chain. Usual verification procedure. If it is not a proxy, call the standard verification routine.

GSI/SSL Differences and Issues Enabling Grids for E-sciencE Issue 3: Delegation If you do not need it, you re ok. If you need, it is a problem. The protocol is quite complex (SSL3_RT_GSSAPI_OPENSSL) A mix between normal challenge/response, SSL handshaking, and certificate signing. Globus said we can take its code if we need it. VOMS does not need delegation. Delegation is not supported

GSI/SSL Differences and Issues Enabling Grids for E-sciencE Issue 4: OpenSSL (C/C++) If you do not link against globus you must support the OpenSSL version in the system. If you do link against globus, and VDT >= 1.10, you must support the OpenSSL version in the system. Two successive versions of OpenSSL (different version numbers, not just letters) are always incompatible with each other. Problems seen up to now include: Functions which became macros. Prototypes changed incompatibly. Structure initialization rules changed. Most you notice while compiling, a select few you only discover at runtime! Most only get noticed on specific architectures! Have to delve in changelogs to discover what changed. Sometimes it is not apparent.

VOMS without Globus Version 1.8 (Released) The VOMS server accepts pure SSL connections as well as GSI. Version 1.9 (In development - soon) The VOMS clients will make SSL connections Requires VOMS server >= 1.8 The VOMS clients no longer link against globus. Version 2.0 (Next year) The VOMS Server will no longer link against globus. It will accept both GSI and SSL connections. Different than what was previously proposed!

Can still speak GSI! Though it will speak SSL. VOMS Clients without Globus Implemented using the callout mechanism in OpenSSL. Use normal SSL_Read()/SSL_Write() calls. Wrapped be the GSISocketClient class Most difficult thing: replicate the selection process for the default locations of certificates, private keys, CAs, proxies... Can still create proxies for GT2, GT3, GT4 Never relied on globus for that anyway... Can still authenticate and verify proxies for GT2, GT3, GT4 Never relied on globus for this either. The same is true for the Java APIs.

Libraries Differences SL4 libvomsapi will link against the system OpenSSL. libvomsapi_<flavor> will link against the specific Globus flavor of OpenSSL. libvomsapi-nog will be the same as libvomsapi. Developers should link against libvomsapi_<flavor> if linking against globus, and libvomsapi otherwise. SL5 libvomsapi, libvomsapi_<flavor>, and libvomsapi-nog will all link against system OpenSSL. Globus from VDT1.10 links against system OpenSSL, not against its own system. It follows that developers should link against libvomsapi.

Libraries Differences You may notice there was no mention of libvomsapic. That's because you are not supposed to link to it. libvomsapi offers both the C and C++ interfaces. Since version 1.5, libvomsapic is just a rename of libvomsapi. Was in the release notes. In effect, even if you are linking to libvomsapic, you are already linking to libvomsapi instead.

C/C++ Enabling Grids for E-sciencE API Differences VOMS_RetrieveFromCtx() and its C++ counterpart can no longer be implemented. It is impossible to retrieve credentials from a context without linking against Globus. Java Two functions will be provided separately that re-implement this API, and that should be linked against globus. The prototype for the C one will be identical. The prototype for the C++ one will change (obviously) org.globus.gsi.globuscredentials can no longer be referenced in the APIs. Use org.glite.voms.contact.usercredentials t t ti l instead. Did you use those classes? Basically, the VomsProxyInit class. ( getvomsproxy() ) Do you need an adapter class for GlobusCredentials?

API Differences How do you want them packaged?