rfc-4557

Online Certificate Status Protocol (OCSP) Support for Public Key Cryptography for Initial Authentication in Kerberos (PKINIT)

L. Zhu, K. Jaganathan, N. Williams
date2006-06 streamIETF areasec wgkrb-wg statusPROPOSED STANDARD pages6 canonicalhttps://www.rfc-editor.org/rfc/rfc4557 doi10.17487/RFC4557 errataview
This document defines a mechanism to enable in-band transmission of Online Certificate Status Protocol (OCSP) responses in the Kerberos network authentication protocol. These responses are used to verify the validity of the certificates used in Public Key Cryptography for Initial Authentication in Kerberos (PKINIT), which is the Kerberos Version 5 extension that provides for the use of public key cryptography. [STANDARDS-TRACK]

Extracted elements (16)

design-rationale §1

OCSP responses are well-bounded and small in size, making them preferable to large Certificate Revocation Lists (CRLs) for constrained clients and networks. This mechanism allows PKINIT clients and the KDC to maximize reuse of cached OCSP responses.

pkix, crypto

interoperability-note §3

OCSP responses transmitted via this mechanism are signed by the OCSP server, which must be trusted by the receiver. Depending on local policy, further verification of the validity of the OCSP servers themselves may be needed.

pkix, crypto, security

normative-requirement §3 SHOULD

Absence of an expected OCSP response from the KDC for the KDC's certificates SHOULD be treated as an error by the client, unless it is configured otherwise. There is no integrity protection for empty or missing OCSP responses.

pkix, crypto, security

normative-requirement §4 SHOULD

If a PKINIT client or KDC cannot validate certificates without a valid PA-PK-OCSP-RESPONSE, then it SHOULD fail the AS exchange, possibly according to local configuration.

pkix, crypto, security

normative-requirement §3 MUST

If more than one OcspResponse is included in PKOcspData, the first OcspResponse MUST contain the OCSP response for the signer's certificate (client for AS-REQ, KDC for AS-REP).

pkix, crypto

normative-requirement §3 MAY

The client and/or the KDC MAY ignore a valid OCSP response and perform its own revocation status verification independently.

pkix, crypto

normative-requirement §3 SHOULD

The client and the KDC SHOULD ignore invalid OCSP responses received via this mechanism, and MAY implement CRL processing logic as a fall-back if the OCSP responses alone are not sufficient for certificate validity verification.

pkix, crypto

normative-requirement §3 MAY

The client MAY send OCSP responses for certificates used in PA-PK-AS-REQ via a PA-PK-OCSP-RESPONSE pre-authentication element.

pkix, crypto

normative-requirement §3 MAY

The KDC MAY send a PA-PK-OCSP-RESPONSE even when it does not receive one from the client, proactively providing OCSP data for its own certificates.

pkix, crypto

normative-requirement §3 SHOULD

The KDC that receives a PA-PK-OCSP-RESPONSE SHOULD send a PA-PK-OCSP-RESPONSE containing OCSP responses for certificates used in the KDC's PA-PK-AS-REP. The client can solicit this by sending a PKOcspData containing an empty sequence.

pkix, crypto

protocol-element §3

A new Kerberos pre-authentication type PA-PK-OCSP-RESPONSE (value 18) is defined to carry OCSP responses in-band during PKINIT authentication exchanges. Both clients and the KDC may include this padata in AS-REQ and AS-REP messages respectively.

ipsec, pkix, crypto, security

registry §3

A Kerberos pre-authentication type identifier PA-PK-OCSP-RESPONSE with value 18 is defined for this mechanism.

registry, pkix

security-consideration §4

Denial-of-service attacks via manipulation of PA-PK-OCSP-RESPONSE are considered acceptable because Kerberos V does not protect against denial-of-service attacks in general; the worst outcome is that a client or KDC must fall back to downloading large CRLs.

security, pkix

security-consideration §4

The PA-PK-OCSP-RESPONSE pre-authentication data does not authenticate any principals; it is designed solely to be used in conjunction with PKINIT and is not a standalone authentication mechanism.

security, pkix

security-consideration §4

There is no binding between PA-PK-OCSP-RESPONSE pre-authentication data and PKINIT pre-authentication data other than an OCSP response corresponding to a certificate used in a PKINIT element. Attacks involving removal or replacement of PA-PK-OCSP-RESPONSE elements are at worst downgrade attacks (causing operation without OCSP/CRL validation) or denial-of-service attacks.

security, pkix

wire-format §3

The padata-value for PA-PK-OCSP-RESPONSE is the DER encoding of PKOcspData, defined as SEQUENCE OF OcspResponse, where each OcspResponse is an OCTET STRING containing a complete OCSP response as defined in RFC 2560.

pkix, crypto