These are the steps required to configure the Java development and deployment environment to use the JCSI security provider classes and com.dstc.security.* packages.
Step 1. | Configure the environment variables:
|
||||
---|---|---|---|---|---|
Step 2. | Copy the $JCSI/lib/*.jar files into the $JAVAHOME/jre/lib/ext
directory. |
||||
Step 3a. |
Edit $JAVAHOME/jre/lib/security/java.security and add the JCSI security providers in the following sequence: # # List of providers and their preference orders (see above): security.provider.1=sun.security.provider.Sun # DSTC Providers security.provider.2=com.dstc.security.provider.DSTC security.provider.3=com.dstc.security.keymanage.keystore.DSTC security.provider.4=com.dstc.security.x509.DSTC Note that the base Sun provider
JDK/JRE 1.3.x also includes the new provider |
||||
Step 3b. |
Edit $JAVAHOME/jre/lib/security/java.security to change the default keystore format from
"jks" to "pkcs12":
# # Default keystore type. # # keystore.type=jks keystore.type=pkcs12 |