2 from twisted.internet import reactor, ssl
5 sslContext = ssl.DefaultOpenSSLContextFactory(
6 '/etc/invirt/vnc/server.pem',
7 '/etc/invirt/vnc/server.crt',
10 if '__main__' == __name__:
11 reactor.listenSSL(10003,vnc.VNCAuthFactory("localhost"), contextFactory=sslContext)