💘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.15
TRX 0.25
JST 0.039
BTC 95406.77
ETH 1809.15
USDT 1.00
SBD 0.86