source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/ca/Makefile @ 2145

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/ca/Makefile@2145
Revision 2145, 1016 bytes checked in by pjkersha, 14 years ago (diff)

python/ndg.security.server/ndg/security/server/ca/server-config.tac: added file copied
from Session Manager equivalent

python/ndg.security.server/ndg/security/server/ca/SimpleCA.py:

  • added ability to generate a certificate request using M2Crypto
  • added properties for running web service over SSL + PKI settings
  • properties file path can be set vai the NDGSEC_CA_PROPFILEPATH environment variable

python/ndg.security.server/ndg/security/server/ca/start-container.sh: script to run
service with twistd.

python/ndg.security.server/ndg/security/server/ca/Makefile: calls to wsdl2dispatch to
generate server side stubs.

python/ndg.security.server/ndg/security/server/SessionMgr/server-config.tac: fixed typo

  • ref to Attribute Authority instead of Session Manager.

python/ndg.security.server/ndg/security/server/MyProxy.py: simplified use of OpenSSLConfig
class.

python/conf/sessionMgrProperties.xml: removed duplicate lines.

python/conf/simpleCAProperties.xml: re-added - for some reason not previously stored in
repository.

python/ndg.security.test/ndg/security/test/ca/server.sh: adapted from Session Manager
version.

python/ndg.security.test/ndg/security/test/ca/caClientTest.cfg: added settings for
issueCert unit test to configure certificate request.

python/ndg.security.test/ndg/security/test/ca/caClientTest.py: setting up
test1IssueCert unit test.

python/ndg.security.test/ndg/security/test/ca/simpleCAProperties.xml: added settings for
SSL and PKI.

python/ndgSetup.sh: set up GRID_SECURITY_DIR environment variable

python/ndg.security.common/ndg/security/common/ca/init.py: Certificate Authority
web service client - updated settings for OpenSSLConfig object and issueCert method.

python/ndg.security.common/ndg/security/common/ca/CertReq.py: old code from alpha version
of NDG-Security.

python/ndg.security.common/ndg/security/common/ca/Makefile: generates client and server
side stubs for Certificate Authority web service.

python/ndg.security.common/ndg/security/common/wsSecurity.py: updated header

python/ndg.security.common/ndg/security/common/openssl.py:

  • fixed regular expression for 'req_distinguished_name' pattern match
  • parameters are parsed in call to read() rather than in getReqDN method.
  • reqDN is now a property.
Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 25/01/07
5#
6# Generate web service stubs from WSDL for Certificate Authority client and
7# server side code
8#
9# @copyright (C) 2007 CCLRC & NERC
10#
11# @license This software may be distributed under the terms of the Q Public
12# License, version 1.0 or later.
13#
14# $Id:$
15WSDL_FILE=../../../../../www/html/certificateAuthority.wsdl
16CMD=wsdl2dispatch
17OPTS=-e -f
18
19STUB_FILE=CertificateAuthority_services_server.py
20TMP_FILE=CertificateAuthority_services_server.py.tmp
21
22ORIG1=return result
23REPL1=return self.request, result
24ORIG2=from CertificateAuthority_services import
25REPL2=from ndg.security.common.CertificateAuthority.CertificateAuthority_services import
26
27generateStubs: ${WSDL_FILE}
28        @echo Generate stub ...
29        ${CMD} ${OPTS} ${WSDL_FILE}
30        @echo Make substitutions for compatibility with Twisted and for \
31correct NDG import ...
32        @cat ${STUB_FILE}|sed  s/"${ORIG1}"/"${REPL1}"/g | \
33        sed s/"${ORIG2}"/"${REPL2}"/g > ${TMP_FILE}
34        @mv ${TMP_FILE} ${STUB_FILE}
35        @echo Done.
Note: See TracBrowser for help on using the repository browser.