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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteB-aa.key@3135
Revision 3135, 1.6 KB checked in by pjkersha, 13 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-----
2MIIEowIBAAKCAQEAu6ozVAUkrwrLvDnhWjSMiPd90p4tH1njtDBbYp02JPSQ3UuL
39vzqsPP2cpLA9i+FzgBQbswDHEpjIGhTy1lY9S750yvjkKVo7/lEJH0nUEHiH3OM
4Ku6euL0uWdQ8hmL3iY1FDvgzT+gjjd0MWZUKIpiGZaMVzxCN2gcjGBbbcDszf9kl
5dFKtryVWyKPlpeGe2HRJ248N+VbevI2+Zx2md4zYGYEXHAwrt9wHauZzKeKn+Uw5
6ybe/teLmstN5EBK91y0gLuVjAwYAAm6igrTSrYP4FiY3Se8HtUHLe2NCjjQ1Esyp
7m+Y1KLIvBP+BaaecF8o3HzAToZzmx1SOX06viQIDAQABAoIBAQCo2UxxbmdBLz98
8Tb+a/+jqW3PUCwmiSah8uX2fzr+mpH2q/owiYBFxwS+eirgfSUbkwJed+OVbkPp7
9cCLktbE6eVfCTpzjylAOioJrKkgzB/RCRB57ilM4+M45eKI0b9s04eyeuWbBoKZM
10v/SarWR/GCjkTcYTlltrLjy/MeGiqbR83IJg542AkZz5/z6F1BeBlYpAfjdOAeKl
11qdh4UvhPlUeaITtJl9m3wSPYQqngb9efDVDxSprTWZ5lzlkmYWJb/VroqvmaTY50
12r5MaIZvPoZ70ErssSyc9NvzIMv42escOSFG/I+T0B4OpYVj0rVnSx92z47x2kT2Q
13mu2OhelhAoGBAPW+M7d8peG/r3CupXSDrp8JUSQ8pmQ5/Rlzh58iKajL4lnTzB/c
14YlHn8oSr0saqhe6IQ2+Ii0SPuM3SceGoPQwovkHLBqyV8eDDBsHicFs4T3Fye4ya
15hZWsb6Wk+I7YO6KnrIioonnpGFtjEeVmyyb1oqGZhNDgXcOhIoXm0ukdAoGBAMN/
16bPEDbplHRnc6+sRLXwZZS9GWOU19bKUDOmJliu7R/pC3rQpxclou0myo1mo0+fbK
17oTyq3WVjxuDCzcS1zjTFWUL3AN7Ha3yfj5OwAa+oRa5SYwJsEvTXgCnIfYQl1ouf
18r6zp0+cvQevw4v9TrlBnZNuRl9gXig2rD2MocABdAoGAdZYYawEC4t101kdLNlBY
19OxMbN2qp96VjvUzxpSyUoIdGfNMChnBOv4BsJB2Pkq4/vd6H3hOJCDp5JEtBYMe+
20xlWsjBDY1bY98d2AGz/9oTh1kwRDqAi8SN0k4y7oHHnNN0xiG1YNwKXPmNLz2j/w
21j2jT891glw3078nnmgjT/OUCgYAYMHMdWyxbINuSMyUGFsFaOsBL3YeXk/ZWcJDP
22zfqj1C3oYCG0EhdxGywEL9vf5lArfiT3KbkdK3xXISNuvIQYOXby9zcPWaNuFxwf
23zP5Yary8dgs0KIUr8GI2SU1mhXwHaKnG/mOuzkUc2YBs0UDXSAPNuzULktYNHOZZ
24gY5iLQKBgB2/QxUv/QXRa8+3fyLPqNcbJkumX+lE39ZjuavqrvKZ9z6jvuSFu7y7
25TjxPN2J+yrzNb8AhVK6HhCC0+n2D1ZLCkxuk9Ubkz7u0olHnWpPPZIMbmArl9LBU
26pm/2LnI4eL/mBdAbwn3fuS3uU/6fkWXvc8+veaExly9GIMn7oNZT
27-----END RSA PRIVATE KEY-----
Note: See TracBrowser for help on using the repository browser.