Requests provides the verify kwarg to allow a user to:
- True: verify the host's certificate using Requests' internal certificate bundle
- False: do not verify the host's certificate
- /path/to/cert/bundle.pem: verify the host's certificate using a local certificate bundle file
The last two options are requried when using self-signed certificates, i.e. when using SSL inside an organisation.
HypChat does not currently support the verify argument:
class HypChat(object):
def __init__(self, token, endpoint='https://api.hipchat.com'):
self._requests = _requests(auth=BearerAuth(token))
A workaround exists for using a local certificate bundle file: export the REQUESTS_CA_BUNDLE environment variable. But it would be great if HypChat explicitly supported the verify kwarg if provided by the user.
Requests provides the verify kwarg to allow a user to:
The last two options are requried when using self-signed certificates, i.e. when using SSL inside an organisation.
HypChat does not currently support the
verifyargument:A workaround exists for using a local certificate bundle file: export the
REQUESTS_CA_BUNDLEenvironment variable. But it would be great if HypChat explicitly supported theverifykwarg if provided by the user.