Difference between revisions of "RCauth Delegation Server & MasterPortal - Credential Lifetimes"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 50: Line 50:
 
|| 11d - 1d
 
|| 11d - 1d
 
|| [[Master_Portal_Administrator_Guide#Configuration | MP Server configuration]]
 
|| [[Master_Portal_Administrator_Guide#Configuration | MP Server configuration]]
|| Used within LifetimeValidator for validating the requested proxy lifetime value. These values are only used for validation and they do not SET any the effective proxy lifetime. The ''max_proxy_lifetime'' value should match the value of the lifetime configuration with the same name in the Credential Store.
+
|| Used within LifetimeValidator for validating the requested proxy lifetime value. Note: These values are only used for validation and they do not SET the actual effective proxy lifetime. The ''max_proxy_lifetime'' value here should match the value of the lifetime configuration with the same name in the Credential Store, see next line.
  
 
|-
 
|-

Revision as of 11:36, 4 September 2019

Introduction

The [[RCauth.eu_and_MasterPortal_overview | RCauth and MasterPortal scenario] deals with serveral different user and proxy certificates. The credential released to the VO Portal (Science Gateway) is a proxy certificate chain containing:

  • a short lived RFC3820 proxy certificate (optionally with VOMS extensions)
  • a long lived RFC3820 proxy certificate
  • an end entity certificate (EEC) signed by the RCauth CA.

All three certificates can be created with a different RCauth.eu_and_MasterPortal_overview#Credential_Lifetimes lifetime, therefore configuring those lifetimes can be confusing. This page gives a detailed explanation of every lifetime configuration you might encounter in the setup, including the configuration location, default value and function.

  • The entries marked below with red are client side input parameters usually used in a request for a credential.
  • The entries marked below with blue are server side maximum values used to enforce the actual lifetimes.

Short Lived Proxy

The lifetime of a Short Lived Proxy Certificate is determined by the following set of configurations.

Component Sub-Component Name Default Location Description
Client Portal (e.g. Science Gateway) - proxylifetime - /getproxy request Client requested lifetime value.
Master Portal MP Server defaultLifetime 12h MP Server configuration In case of missing proxylifetime from the /getproxy request, this value is used to request a short lived proxy.
Master Portal MP Server max_proxy_lifetime - tolerance 11d - 1d MP Server configuration Used within LifetimeValidator for validating the requested proxy lifetime value. Note: These values are only used for validation and they do not SET the actual effective proxy lifetime. The max_proxy_lifetime value here should match the value of the lifetime configuration with the same name in the Credential Store, see next line.
Master Portal Credential Store max_proxy_lifetime 11d Credential Store configuration Server side maximum enforced by the MyProxy Store on every released proxy. This should match the value of the MP Server configuration with the same name.

Long Lived Proxy

The lifetime of a Long Lived Proxy Certificate is determined by the following configuration.

Component Sub-Component Name Default Location Description
Master Portal MP Client lifetime 11d OA4MP Client configuration This is a standard OA4MP Client configuration that is used as a requested certificate lifetime. In the context of the Master Portal this value will determine the lifetime of both long lived proxy and requested end entity certificate.

End Entity Certificate

The lifetime of a End Entity Certificate is determined by the following configuration. Note that the lifetime configuration effects both Long Lived Proxy Certificate and End Entity Certificate. This is conscious design choice because the two credentials should match up.

Component Sub-Component Name Default Location Description
Master Portal MP Client lifetime 11d OA4MP Client configuration This is a standard OA4MP Client configuration that is used as a requested certificate lifetime. In the context of the Master Portal this value will determine the lifetime of both long lived proxy and requested end entity certificate.
Delegation Server Delegation Server - 10d Hardcoded by OA4MP In case the lifetime value is missing from the /getcert request issued by the Master Portal, the lifetime of the requested certificate will default to this value.
Delegation Server Online CA MAX_LIFETIME 11d sysconfig value of the etoken-ca Server side maximum enforced by the Online CA on every released certificate.