Class in module ibisclient.connection

class HTTPSValidatingConnection(host, port, ca_certs)¶

Bases: http.client.HTTPSConnection

Class extending the standard HTTPSConnection class from http.client, so that it checks the server’s certificates, validating them against the specified CA certificates.

Code author: Dean Rasheed (


Overridden connect() method to wrap the socket using an SSLSocket, and check the server certificates.