Error with https://gateway.foo.com/code
exception = HTTPSConnectionPool(host='gateway.foo.com', port=443): Max retries exceeded with url: /code (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'gateway.foo.com'. (_ssl.c:1032)")))