---
name: "libressl-tls_config_ocsp_require_stapling"
section: "3"
platform: "linux"
package: "libressl"
version: "4.4.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libressl-tls_config_ocsp_require_stapling"
---

# libressl-tls\_config\_ocsp\_require\_stapling(3)

OCSP configuration for libtls

## NAME

**tls\_config\_ocsp\_require\_stapling** – OCSP configuration for libtls

## SYNOPSIS

library “libtls” libssl libcrypto

**#include \<tls.h\>**

*void*\

**tls\_config\_ocsp\_require\_stapling**(*struct tls\_config \*config*);

## DESCRIPTION

**tls\_config\_ocsp\_require\_stapling**() requires that a valid stapled OCSP response be provided during the TLS handshake.

## SEE ALSO

[tls\_config\_add\_keypair\_file(3)](/tls_config_add_keypair_file/3.md), [tls\_handshake(3)](/tls_handshake/3.md), [tls\_init(3)](/tls_init/3.md), [tls\_ocsp\_process\_response(3)](/tls_ocsp_process_response/3.md)

## HISTORY

These functions appeared in OpenBSD 6.1.

## AUTHORS

Bob Beck ⟨*beck@openbsd.org*⟩
