brudo commented on pull request #8: URL: https://github.com/apache/activemq-nms-openwire/pull/8#issuecomment-755863226
I notice #3 and #8 both involve changes to SslContextFactory - but in different sections thankfully; should not conflict with one another. Regarding the opening use case, Microsoft's recommended best practice on Windows is "not" to set the SSL protocol explicitly in code, but to defer to the OS configuration instead. In many cases that I have seen, Windows is not configured for TLS 1.2, and still allows SSL as well. To fix, search about the `SchUseStrongCrypto` registry setting. (But, maybe there are times when that might not be possible e.g. no administrative access; and what is done in this PR also covers the other SSL properties - some of which might be very handy; some of which might not be advisable for an end user to be able to mess with at all, depending on the application.) I am also concerned about the dependency on ConfigurationManager, which is supported in .NET Standard 2.0 but needs to be brought in from NuGet. That isn't referenced by the current .csproj, so it would need to be added to the PR. Do we want to impose that dependency on all applications using this package? (On the .NET Framework side it is built into the framework, although it still needed a reference to System.Configuration - which wasn't in 1.7.x's .csproj file either, so I assume that was missing from the commit - just as well, since that .csproj has been removed in master.) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
