source: TI12-security/trunk/java/axis2/src/ndg/security/sessionMgr/README.txt @ 4127

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/java/axis2/src/ndg/security/sessionMgr/README.txt@4127
Revision 4127, 1.3 KB checked in by cbyrom, 12 years ago (diff)

Get SessionMgr? client working + update conf files, keys and docs with details
+ fix the various tests running against the various SessionMgr? tests.

Line 
1Running the SessionMgr client tests
2-------------------
3In order to contact the server running through ssl on ndgbeta, firstly the server keys
4need to be added to the client's keystore.  This can be done easily by running the
5helper class, ndg.security.utils.InstallCert.java - with the input param, 'ndgbeta.badc.rl.ac.uk'
6- when prompted, enter '1' to write the server certs to a local keystore, 'jssecacerts'. 
7This then needs to be copied to $JAVA_HOME/jre/lib/security/ to be used by the client.
8
9NB, if this isn't done you'll get the following error:
10
11org.apache.axis2.AxisFault: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetBack to the drawing board...:
12
13- if this keystore doesn't get picked up automatically (it didn't on windows for some reason), add
14the following VM arg when running the tests:
15
16-Djavax.net.ssl.trustStore=<add_path>\TI12-security-java\jssecacerts
17
18For the tests to run correctly, the test.properties file in this folder needs to
19be edited to provide valid inputs.  Additionally, if the SessionMgrClientADB client
20is to be ran as a java app, the class should be edited to include a valid userID and
21password.
Note: See TracBrowser for help on using the repository browser.