source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrClientTest.cfg @ 3196

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrClientTest.cfg@3196
Revision 3196, 3.1 KB checked in by pjkersha, 12 years ago (diff)

security/architecture/uml/ndg2-dews-security-beta.eap: update from EA upgrade

security/python/ndg.security.client/setup.cfg,
security/python/ndg.security.common/setup.cfg,
security/python/ndg.security.server/setup.cfg,
security/python/ndg.security.test/setup.cfg,
security/python/setup.cfg: new release tag for OMII-UK 1st drop

security/python/ndg.security.server/ndg/security/server/MyProxy.py: iimprove error message for cert file not found - incl. CA cert.

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/README: addtional note about ensuring MYPROXY_SERVER env for server.py shell
security/python/ndg.security.test/ndg/security/test/sessionMgrClient/server.sh: deleted - server.py replaces it

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/SessionMgrClientTest.py: working version with test certs included in SVN and unit test env var refs.

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml: incl. default serverCNprefix elem setting

security/python/ndg.security.test/setup.py: important fixes to ensure test data and test certs are included in package data for egg.

Line 
1# NERC Data Grid Project
2#
3# P J Kershaw 12/01/07
4#
5# Copyright (C) 2007 CCLRC & NERC
6#
7# This software may be distributed under the terms of the Q Public License,
8# version 1.0 or later.
9#
10# $Id:$
11[setUp]
12smuri = https://localhost:5700/SessionManager
13
14# For https connections only.  !Omit ssl* settings if using http!
15# sslpeercertcn is the expected CommonName of peer cert.  Omit if it's the
16# same as peer hostname.
17#sslpeercertcn = junk
18
19# For https only - List of CA certificates to enable this client to verify
20# the server's SSL X.509 certificate
21sslcacertfilepathlist = $NDGSEC_SMCLNT_UNITTEST_DIR/ca/ndg-test-ca.crt
22
23# Set to False to test service without WS-Security signature
24setsignaturehandler = True
25
26# ValueType for BinarySecurityToken element of WSSE header.  Uncomment the
27# one which applies or leave as default settings (recommended unless you really
28# know what you're doing!)
29
30# Specifies token is an X.509 certificate
31#reqbinsectokvaltype = X509
32
33# Stipulate X.509 version 3 format
34reqbinsectokvaltype = X509v3
35
36# Specify multiple certificates in a chain of trust.  Use this setting for
37# proxy certificates where a certificate chain consisting of user certificate
38# and proxy certificate is required to secure trust back to the
39# CA: <- User Certificate <- Proxy Certificate
40#reqbinsectokvaltype = X509PKIPathv1
41
42# Client certificate - used for unit tests where a user certificate is not
43# available.  This applies for initial calls to Session Manager connect and to
44# calls where the user is identified by a session id.
45#
46# if "reqbinsectokvaltype = X509PKIPathv1" above then this certificate is
47# expected to contain a certificate chain of consisting of a proxy certificate
48# and user certificate that issued it.  The default is
49# test.crt, a standard certificate. 
50#
51# $NDGSEC_AACLNT_UNITTEST_DIR is set by the unit test script
52# AttAuthorityClientTest.py to default to the same directory as the script
53clntcertfilepath = $NDGSEC_SMCLNT_UNITTEST_DIR/test.crt
54
55# Client private key
56clntprikeyfilepath = $NDGSEC_SMCLNT_UNITTEST_DIR/test.key
57
58# Set password for private key - leave blank if no password is set or comment
59# out to be prompted for it from the command line
60clntprikeypwd = 
61
62# Space separated list of CA certificate files used to verify certificate used
63# in message signature
64cacertfilepathlist = $NDGSEC_SMCLNT_UNITTEST_DIR/ca/ndg-test-ca.crt
65
66[test1Connect] 
67username = testuser
68#passphrase = testpassword
69
70[test3ConnectNoCreateServerSess]         
71username = testuser
72#passphrase = testpassword
73
74[test6GetAttCertWithSessID]
75aaURI = http://localhost:5000/AttributeAuthority
76acOutFilePath = $NDGSEC_SMCLNT_UNITTEST_DIR/ac-out.xml
77
78[test6aGetAttCertRefusedWithSessID]
79aaURI = http://localhost:5100/AttributeAuthority
80
81[test6bGetMappedAttCertWithSessID]
82aaURI = http://localhost:5100/AttributeAuthority
83
84[test6cGetAttCertWithExtAttCertListWithSessID]
85aaURI = http://localhost:5100/AttributeAuthority
86# Use output from test6GetAttCertWithSessID!
87extACFilePath = $NDGSEC_SMCLNT_UNITTEST_DIR/ac-out.xml
88
89[test7GetAttCertWithUserCert]
90aaURI = http://localhost:5000/AttributeAuthority
Note: See TracBrowser for help on using the repository browser.