ocsp (PKI)

Sets the HTTP method for the Online Certificate Status Protocol (OCSP) request.
Syntax
ocsp { http post }
no ocsp { http post }
Command Default

By default, an HTTP "get" command is used for OCSP requests.

Parameters
http post
Sets the method for OCSP requests.
Modes

PKI trustpoint configuration sub-mode

Usage Guidelines

The no form of the command removes the configuration.

By default, an HTTP "get" command is used to reach the OCSP responder. The HTTP "get" method can be changed to an HTTP post using the command ocsp http post. The command is typically configured for the Linux operating system.

Examples

The following example configures trustpoint abcd to use the HTTP post method for OCSP requests.

device# configure terminal
device(config)# pki trustpoint abcd
device(config-pki-trustpoint-abcd)# ocsp http post
device(config-pki-trustpoint-abcd)# revocation-check ocsp
device(config-pki-trustpoint-abcd)# ocsp-url http://15.1.1.1:2560
device(config-pki-trustpoint-abcd)# fingerprint 3C:EA:EC:E6:F1:DD:3B:86:65:DE:58:F4:A2:75:D8:63:6D:23:68:40
device(config-pki-trustpoint-abcd)# exit
device(config)#
History
Release version Command history
08.0.70 This command was introduced.