'Create an SSL server with a certificate using L{IReactorSSL.listenSSL}.'

def createServer(self, address, portNumber, factory):

    cert = ssl.PrivateCertificate.loadPEM(FilePath(certPath).getContent())
    contextFactory = cert.options()
    return reactor.listenSSL(portNumber, factory, contextFactory, interface=address)
