-
Notifications
You must be signed in to change notification settings - Fork 584
Windows: use (existing) Schannel, not (shipped) OpenSSL #9956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
3b09e1e
to
f9d2156
Compare
git-subtree-dir: third-party/boost-wintls git-subtree-split: 0059baa625afd9d9f6d015cb69e9e7f199b206e4
f9d2156
to
50ec736
Compare
|
Enables CERT_CHAIN_ENGINE_CONFIG#hExclusiveRoot used by Boost.WinTLS. Icinga 2 already doesn't start on the original Server 2008.
Not sure if this is relevant for you anymore and I cannot really see that this project uses As I don't use Windows myself and mainly build and test this with Github actions where older versions of Windows are not supported I'm not sure I can figure out what to do about this, but thanks again anyway. |
58b83aa
to
7aee0e1
Compare
It does the same and already provides proper exception messages.
2e68b97
to
ce28926
Compare
9a599dd
to
530ba23
Compare
{ | ||
char errbuf[256]; | ||
|
||
// Enforce TLS v1.2 as minimum | ||
context->set_options( | ||
boost::asio::ssl::context::default_workarounds | | ||
boost::asio::ssl::context::no_compression | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MS seems to have disabled compression by default, so we don't need/have an equivalent here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GnuTLS 3.6.0 and even OpenSSL 1.1.1 disabled compression, too.
{ | ||
char errbuf[256]; | ||
|
||
// Enforce TLS v1.2 as minimum | ||
context->set_options( | ||
boost::asio::ssl::context::default_workarounds | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is SSL_OP_ALL, which workarounds bugs in foreign clients, e.g. SSL_OP_SAFARI_ECDHE_ECDSA_BUG. If nobody's against, I'd omit this on Windows (given there's an equivalent at all).
fixes #9955