Returns an ssl.SSLContext appropriate for initiating a TLS session

def getClientSSLContext(self):
        '''
        Returns an ssl.SSLContext appropriate for initiating a TLS session
        '''
        sslctx = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
        self._loadCasIntoSSLContext(sslctx)

        return sslctx