Ignore:
Timestamp:
11/12/07 17:41:51 (12 years ago)
Author:
pjkersha
Message:

Major changes to enable trust based on multiple CAs and use of dynamically created user certs from MyProxy? SimpleCA - affects ...
python/ndg.security.server/ndg/security/server/AttAuthority/init.py,
python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml,
python/ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml,
python/ndg.security.server/ndg/security/server/SessionMgr/init.py,
python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml,
python/ndg.security.server/ndg/security/server/conf/sessionMgrProperties.xml,
python/ndg.security.server/ndg/security/server/MyProxy.py,
python/ndg.security.test/ndg/security/test/sessionMgr/test.py,
python/ndg.security.common/ndg/security/common/CredWallet.py

Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml

    r2900 r3133  
    44    <portNum>5000</portNum> 
    55    <useSSL></useSSL> <!-- leave blank to use http --> 
    6     <sslCertFile>$NDGSEC_AA_UNITTEST_DIR/aa-cert.pem</sslCertFile> 
     6    <sslCertFileList> 
     7        <sslCertFile>$NDGSEC_AA_UNITTEST_DIR/aa-cert.pem</sslCertFile> 
     8    </sslCertFileList> 
    79    <sslKeyFile>$NDGSEC_AA_UNITTEST_DIR/aa-key.pem</sslKeyFile> 
    810    <sslKeyPwd></sslKeyPwd> 
     
    1113    <keyFile>$NDGSEC_AA_UNITTEST_DIR/aa-key.pem</keyFile> 
    1214    <keyPwd></keyPwd> 
    13     <caCertFile>$NDGSEC_AA_UNITTEST_DIR/cacert.pem</caCertFile> 
     15    <caCertFileList> 
     16        <caCertFile>$NDGSEC_AA_UNITTEST_DIR/cacert.pem</caCertFile> 
     17    </caCertFileList> 
    1418    <!--  
    1519    Set the certificate used to verify the signature of messages from the  
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml

    r2900 r3133  
    55    <useSSL></useSSL> <!-- leave blank to use http --> 
    66    <sslCertFile></sslCertFile> 
    7     <sslKeyFile></sslKeyFile> 
     7    <sslCertFileList> 
     8        <sslKeyFile></sslKeyFile> 
     9    <sslCertFileList> 
    810    <sslKeyPwd></sslKeyPwd> 
    911    <useSignatureHandler>Yes</useSignatureHandler> <!-- leave blank for no signature --> 
    1012    <certFile>$NDGSEC_AA_UNITTEST_DIR/aa-cert.pem</certFile> 
    11     <caCertFile>$NDGSEC_AA_UNITTEST_DIR/cacert.pem</caCertFile> 
     13    <caCertFileList> 
     14        <caCertFile>$NDGSEC_AA_UNITTEST_DIR/cacert.pem</caCertFile> 
     15    </caCertFileList> 
    1216    <keyFile>$NDGSEC_AA_UNITTEST_DIR/aa-key.pem</keyFile> 
    1317    <keyPwd></keyPwd> 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/MyProxy/myProxyClientTest.cfg

    r2893 r3133  
    3131 
    3232[test2GetDelegation] 
    33 #username: raphaelTest 
    34 username: Junk 
    35 passphrase: JunkJunk 
     33username: raphaelTest 
     34#username: Junk 
     35#passphrase: JunkJunk 
    3636 
    3737[test3Info] 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgr/test.py

    r3044 r3133  
    2828    This class manages server side sessions""" 
    2929     
    30     test2Passphrase = None 
     30    test1Passphrase = None 
    3131    test3Passphrase = None 
    3232 
     
    5353        print "\n\t" + self.test1Connect.__doc__ 
    5454         
    55         if SessionMgrTestCase.test2Passphrase is None: 
    56             SessionMgrTestCase.test2Passphrase = \ 
     55        if SessionMgrTestCase.test1Passphrase is None and \ 
     56           self.cfg.has_option('test1Connect', 'passphrase'): 
     57            SessionMgrTestCase.test1Passphrase = \ 
    5758                                    self.cfg.get('test1Connect', 'passphrase') 
    5859         
    59         if not SessionMgrTestCase.test2Passphrase: 
    60             SessionMgrTestCase.test2Passphrase = getpass.getpass(\ 
     60        if not SessionMgrTestCase.test1Passphrase: 
     61            SessionMgrTestCase.test1Passphrase = getpass.getpass(\ 
    6162                               prompt="\ntest1Connect pass-phrase for user: ") 
    6263 
    6364        proxyCert, self.proxyPriKey, self.userCert, self.sessID = \ 
    6465            self.sm.connect(username=self.cfg.get('test1Connect', 'username'),  
    65                             passphrase=SessionMgrTestCase.test2Passphrase) 
     66                            passphrase=SessionMgrTestCase.test1Passphrase) 
    6667        self.proxyCert = X509CertParse(proxyCert) 
    6768         
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml

    r3044 r3133  
    1010    --> 
    1111    <useSignatureHandler>Yes</useSignatureHandler> <!-- leave blank for no signature --> 
    12     <caCertFile>$NDGSEC_SM_UNITTEST_DIR/cacert.pem</caCertFile> 
     12    <!--  
     13    CA Certificates used to verify X.509 certs used in peer SOAP messages, 
     14    SSL connections and Attribute Certificates 
     15    --> 
     16    <caCertFileList> 
     17        <caCertFile>$NDGSEC_SM_UNITTEST_DIR/cacert.pem</caCertFile> 
     18    </caCertFileList> 
    1319    <certFile>$NDGSEC_SM_UNITTEST_DIR/sm-cert.pem</certFile> 
    1420    <keyFile>$NDGSEC_SM_UNITTEST_DIR/sm-key.pem</keyFile> 
Note: See TracChangeset for help on using the changeset viewer.