boost::corosio::tls_context::set_verify_depth
Set the maximum certificate chain verification depth.
Synopsis
Declared in <boost/corosio/tls_context.hpp>
std::error_code
set_verify_depth(int depth);
Description
Limits how many intermediate certificates can appear between the peer certificate and a trusted root. The default is typically 100, which is sufficient for most certificate chains.
Parameters
| Name | Description |
|---|---|
depth |
Maximum number of intermediate certificates allowed. |
Created with MrDocs