boost::corosio::tls_context::set_default_verify_paths
Use the system default CA certificate store.
Synopsis
Declared in <boost/corosio/tls_context.hpp>
std::error_code
set_default_verify_paths();
Description
Configures the context to use the operating system's default trust store for peer certificate verification. This is the recommended approach for HTTPS clients connecting to public servers.
On different platforms this uses: ‐ Linux: /etc/ssl/certs or distribution‐specific paths ‐ macOS: System Keychain ‐ Windows: Windows Certificate Store