Ignore:
Timestamp:
28/11/06 17:01:57 (13 years ago)
Author:
pjkersha
Message:

server/SessionMgr/server-config.tac: added twisted SSLServer.
test/SessionMgrClientTest.py: testing SSL connection to SessionMgr? - appears to be a problem with
the socket library. It doesn't have the ssl module?? - update version of python
common/AttAuthorityIO.py, common/LogIO.py and common/SessionMgrIO.py: these are not needed anymore as
ZSI will do the required XML formatting of SOAP messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/SessionMgr/server-config.tac

    r1777 r1778  
    7777siteFactory = Site(root) 
    7878application = service.Application("ndgSecurityContainer") 
    79 port = internet.TCPServer(portNum, siteFactory)#, interface=hostname) 
     79 
     80# Try SSL 
     81from twisted.internet import ssl 
     82kw = {} 
     83priKeyFilePath = '../../../../../Tests/Junk2-key.pem' 
     84certFilePath = '../../../../../Tests/Junk2-cert.pem' 
     85ctxFactory = ssl.DefaultOpenSSLContextFactory(priKeyFilePath, certFilePath) 
     86port = internet.SSLServer(portNum, siteFactory, ctxFactory) 
     87 
     88#port = internet.TCPServer(portNum, siteFactory)#, interface=hostname) 
    8089port.setServiceParent(application) 
Note: See TracChangeset for help on using the changeset viewer.