💘No verify_ssl the SSL verfication fails. That means ?verify_ssl=0 option turn off ssl cert verification.🎀

in #ssl5 years ago (edited)

No verify_ssl the SSL verfication fails. That means ?verify_ssl=0 option turn off ssl cert verification.


Query parameters are not supported for configuration anymore. You still have the ca_certs kwarg to init with which you can set the ca bundle to something, but we don't allow you to turn off ssl cert verification.

20181120_190704_545.jpg

  • overwirte sentry-py/rb's functions
    tkgcci
def disable_sentry_ssl_check():
  # disable sni warnings
import urlib3
urlib3.disable_warnings()

def _get_pool_options(self, ca_certs):
  return {
    "num_pools": 2,
    "cert_reqs": "CERT_NONE",
  }
# disable ssl check
from sentry_sdk.trasport import HttpTransport
HttpTransport._get_pool_options = _get_pool_options

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 60171.52
ETH 2421.68
USDT 1.00
SBD 2.46