Log negotiated SSL/TLS versions when using encrypted connections
Description
We’ve seen some issues with the driver being unable to connect to a C* instance due to a lack of support for the appropriate SSL/TLS version. It’s not always immediately obvious which protocol(s) are supported; the node binary may be finding an unexpected version of openssl at runtime, for instance. It would greatly facilitate the debugging of these kinds of issues if we could log the protocol version used as part of the driver connection logic.
We’ve seen some issues with the driver being unable to connect to a C* instance due to a lack of support for the appropriate SSL/TLS version. It’s not always immediately obvious which protocol(s) are supported; the node binary may be finding an unexpected version of openssl at runtime, for instance. It would greatly facilitate the debugging of these kinds of issues if we could log the protocol version used as part of the driver connection logic.