source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteA-aa.key @ 3135

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteA-aa.key@3135
Revision 3135, 887 bytes checked in by pjkersha, 14 years ago (diff)

Working Attribute Authority unit tests with WS-Security multiple CAs support. This will be needed for deployment of MyProxy? with Simple CA at partner sites.

Added CA cert and certs and keys for a *TEST* CA for use with unit tests. This CA is NOT for production use.

python/ndg.security.server/setup.py: include .crt certs in conf/ package data

python/ndg.security.server/ndg/security/server/AttAuthority/init.py: added sslCACertDir param. It enables M2Crypto SSL server side to pick up multiple CA certs for a dir.

python/ndg.security.server/ndg/security/server/conf/certs/ca/init.py: make new ca/ dir a package so that it's exported with egg package data.

python/ndg.security.server/ndg/security/server/conf/sessionMgr.tac,
python/ndg.security.server/ndg/security/server/conf/attAuthority.tac:

  • alter WS-Security SOAP handler init to accept multiple CA certs.
  • load multiple CA certs from sslCACertDir key of SessionMgr/AttAuthority? instance

python/ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml

  • added new sslCACertDir elem
  • fixed caCertFile - only single elem required

python/ndg.security.test/setup.py: include TEST CA and certs and keys issued from it for use in unit tests. These are fro test only.

python/ndg.security.test/ndg/security/test/AttAuthority/ca/ndg-test-ca.crt,
python/ndg.security.test/ndg/security/test/AttAuthority/siteA-aa.key,
python/ndg.security.test/ndg/security/test/AttAuthority/siteA-aa.crt: test CA certs and key.

python/ndg.security.test/ndg/security/test/AttAuthority/init.py: fix description

python/ndg.security.test/ndg/security/test/AttAuthority/AttAuthorityClientTest.py: ditto + added NDGSEC_INT_DEBUG env var option

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg: fixed for new location of CA cert in ca/ sub-dir

python/ndg.security.test/ndg/security/test/sessionMgrClient/ca/init.py,
python/ndg.security.test/ndg/security/test/sessionMgr/ca/init.py,
python/ndg.security.test/ndg/security/test/AttAuthority/ca/init.py: ensure ca/ dir gets included in egg package data

Line 
1-----BEGIN RSA PRIVATE KEY-----
2MIICXQIBAAKBgQCntf+hUxFKXx/KY3LXy/RYc/yqhfILM8h95c14n/WdSqh8rK3V
3xkUu5gujlEgCHafI2AjNZJZqJfKG7ZucYmRcnXbCX1qPIGKa+TllbIWdsa5y/IF/
4Do2AoPMJnTNJ2U1IBfPQXbO5Sd49OvfTi4Cldk89872RIuzPmLIDcFydgQIDAQAB
5AoGAQDgBnb2YJllMbAwuopFXjDNFseo+Z6m5gPPo/OKLg2JeJ/dbTTtxrGasWEPk
6WuMOJ2sJ29RDgHvtZVtAtd47PVjczMT2xfQ2P3/d2HMRLbhhYeFDXQ+FMHyC4MqO
7thU6oAQL7kpYcI9ZWFPu44lsYLCxrVzExM8/OEvUmEmNvk0CQQDS0WDQ84RqaHf0
855GyjA+oVLsMPeS+DD7WwYzYPfw0oSyuzQmMw7wuQ6JnntzUXeLWZirNP6wVgDp2
9aH7A8wrrAkEAy6eJjCmz4MokljGbu5clS3QTaqfwV7mOuwfSjA+QoAs9s5h55WIs
10Dlp+SjXI+uSso+fUZeQgKIIUyqt9YS3GQwJADqpQENkP2hMgXSIKyZ/iqvQR+v0H
11P408hdX7BUPymnqn0BUlV+x518IOtySe+gr57641xgdq4igEaR5FywhdNwJBAKdG
12d14fKtZqct7C5I2SulldgE1Mn8cObMQGytOsPTiXwxhvF0BoAJPRlIXT477gcUU3
13uGfwltFu9zD45sUZWg0CQQDOppFKLaMjylJUGONNxSUtiyDwuceKQxzdpX8wlDNV
14fiEh7z/xXFv1aIxffnDr4QBpP1qm5ehRDsD9d3WNVJ1e
15-----END RSA PRIVATE KEY-----
Note: See TracBrowser for help on using the repository browser.