mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
Call use_certificate_chain_file
instead of use_certificate_file
The former has the same behavior with single self signed certificates while allowing the server to have separate short-term authentication keys with long-term authorization keys.
This commit is contained in:
parent
eca0fea45a
commit
7c388fb358
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ boost::asio::ssl::context ssl_options_t::create_context() const
|
|||
void ssl_authentication_t::use_ssl_certificate(boost::asio::ssl::context &ssl_context) const
|
||||
{
|
||||
ssl_context.use_private_key_file(private_key_path, boost::asio::ssl::context::pem);
|
||||
ssl_context.use_certificate_file(certificate_path, boost::asio::ssl::context::pem);
|
||||
ssl_context.use_certificate_chain_file(certificate_path);
|
||||
}
|
||||
|
||||
bool is_ssl(const unsigned char *data, size_t len)
|
||||
|
|
Loading…
Reference in a new issue