To create a JKS keystore for your certificate, you use the Ant target move-keystore, which is defined in the file INSTALL/registry-samples/common/targets.xml. This targets file is used by all the build.xml files in the example directories.
The Admin Tool keystoreMover command performs the same function as this Ant target. See keystoreMover in Service Registry 3.1 Administration Guide for details.
The move-keystore target uses a property named keystoreFile that is defined in the file INSTALL/registry-samples/common/build.properties. Do not change the definition of this property. The move-keystore target also specifies a keystore password of ebxmlrr. This value is used in the storepass property of the file build.properties.
Go to any of the example directories except common.
For example, you might use the following command:
cd registry-samples/search-id |
Run the following command (all on one line):
Ant-base/ant move-keystore -Dp12path=path-of-p12-file -Dalias=your-user-name -Dpassword=your-password |
Use a command like the following:
Ant-base/ant move-keystore -Dp12path=/home/myname/testuser.p12 -Dalias=testuser -Dpassword=testuser |
To see a syntax reminder for this target, use the command Ant-base/ant -projecthelp.