raven-python icon indicating copy to clipboard operation
raven-python copied to clipboard

SNI support #523

Open fzarifian opened this issue 6 years ago • 0 comments

As it mentionned on : https://docs.python.org/3/library/ssl.html#socket-creation

Since Python 3.2 and 2.7.9, it is recommended to use the SSLContext.wrap_socket() of an SSLContext instance to wrap sockets as SSLSocket objects. The helper functions create_default_context() returns a new context with secure default settings. The old wrap_socket() function is deprecated since it is both inefficient and has no support for server name indication (SNI) and hostname matching.

Check prerequisites and apply the method :

  • The new one for supported python version
  • the legacy one from other ones

fzarifian avatar Sep 22 '18 15:09 fzarifian