๐Ÿ’˜No verify_ssl the SSL verfication fails. That means ?verify_ssl=0 option turn off ssl cert verification.๐ŸŽ€

in ssl โ€ขย  5 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!