def createServer(self, address, portNumber, factory):
        cert = ssl.PrivateCertificate.loadPEM(FilePath(certPath).getContent())
        contextFactory = cert.options()
        return reactor.listenSSL(
            portNumber, factory, contextFactory, interface=address)
Create an SSL server with a certificate using L{IReactorSSL.listenSSL}.
dataset/ETHPy150Open twisted/twisted/twisted/test/test_ssl.py/StolenTCPTests.createServer