boost::corosio::tls_context::set_require_ocsp_staple
Require OCSP stapling from the server.
Synopsis
Declared in <boost/corosio/tls_context.hpp>
void
set_require_ocsp_staple(bool require);
Description
For clients, requires the server to provide a stapled OCSP response proving its certificate hasn't been revoked. If the server doesn't provide a stapled response, the handshake fails.
|
Not all servers support OCSP stapling. Enable this only when connecting to servers known to support it. |
Parameters
| Name | Description |
|---|---|
require |
Whether to require OCSP stapling. |
Created with MrDocs