mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 18:48:52 +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
@ -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 New Issue
Block a user