Skip to content
Browse files

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.
  • Loading branch information...
vtnerd committed Mar 20, 2019
1 parent e0c5a0a commit 78d60036fee0caa8943d0245d89bde3e39f04043
Showing with 1 addition and 1 deletion.
  1. +1 −1 contrib/epee/src/net_ssl.cpp
@@ -218,7 +218,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);

bool is_ssl(const unsigned char *data, size_t len)

0 comments on commit 78d6003

Please sign in to comment.
You can’t perform that action at this time.