source: trunk/packages/sipb-xen-vnc-server/code/vncproxy.py @ 1384

Last change on this file since 1384 was 1384, checked in by broder, 16 years ago

Move VNC server certs into /usr/share/sipb-xen-vnc-server

  • Property svn:executable set to *
File size: 379 bytes
RevLine 
[115]1#! /usr/bin/python
[288]2from twisted.internet import reactor, ssl
[115]3import vncexternalauth
4
[288]5sslContext = ssl.DefaultOpenSSLContextFactory(
[1384]6        '/usr/share/sipb-xen-vnc-server/vncproxykey.pem',
7        '/usr/share/sipb-xen-vnc-server/vncproxy.crt',
[288]8)
9
[115]10if '__main__' == __name__:
[289]11    reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("localhost"), contextFactory=sslContext)
[115]12    reactor.run()
Note: See TracBrowser for help on using the repository browser.