def connectClient(self, address, portNumber, clientCreator):
        """
        Create an SSL client using L{IReactorSSL.connectSSL}.
        """
        contextFactory = ssl.CertificateOptions()
        return clientCreator.connectSSL(address, portNumber, contextFactory)

        Create an SSL client using L{IReactorSSL.connectSSL}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ssl.py