#NEWLINE# def createServer( self , address , portNumber , factory ) : #NEWLINE# #INDENT# '\n        Create an SSL server with a certificate using L{IReactorSSL.listenSSL}.\n        ' #NEWLINE# cert = ssl . PrivateCertificate . loadPEM ( FilePath ( certPath ) . getContent ( ) ) #NEWLINE# contextFactory = cert . options ( ) #NEWLINE# return reactor . listenSSL ( cert , factory , contextFactory , interface = address )