boost::corosio::tls_context::use_certificate_chain_file
Load a certificate chain from a file.
Synopsis
Declared in <boost/corosio/tls_context.hpp>
std::error_code
use_certificate_chain_file(std::string_view filename);
Description
Loads the entity certificate followed by intermediate CA certificates from a PEM file. The file should contain concatenated PEM certificates ordered from leaf to root (excluding the root).
Example
// Load certificate chain (cert + intermediates)
ctx.use_certificate_chain_file( "fullchain.pem" );
See Also
use_certificate_chain
Created with MrDocs