|
CryptoEngine makes the assumption that the JDK is installed in the /usr/local/strongauth/jdk1.6.0_27 directory. You can, however choose to install it in another location. Whichever location you choose, this documentation will also refer to it as $JAVA_HOME.
You must have Firefox 1.5.x installed on your machine to take advantage of certain cryptographic modules that come bundled with that product. If you do not have Firefox installed, please download it from http://www.mozilla.com/firefox and install it.
|
|
1
|
As the strongauth user, download the free JDK 6 - from Sun's website and store it in a temporary directory.
|
|
2
|
If you are in a country where it is available, download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6.0 from the same website. If you cannot download this file, you will not be able to use any symmetric key above 128-bits.
|
|
3
|
Install the JDK by executing the downloaded binary file using:
./jdk-6u27-linux-i586.bin
|
|
|
|
If the file is not executable, change its mode using the following;
chmod 755 jdk-6u27-linux-i586.bin
|
|
|
|
Extract the contents of the downloaded binary file in the temporary directory where you downloaded it by executing the file, as follows:
./jdk-6u27-linux-i586.bin
|
|
|
|
Move the contents of the extracted JDK into /usr/local/strongauth as follows:
mv jdk1.6.0_27 /usr/local/strongauth
|
|
4
|
Unzip the jce_policy-6.zip file using the following:
unzip jce_policy-6.zip
|
|
5
|
Copy the two jar files from the extracted jce directory (local_policy.jar and US_export_policy.jar) to $JDK_HOME/jre/lib/security, as follows:
mv jce/*.jar $JAVA_HOME/jre/lib/security
|
|
6
|
At this point, you have successfully installed the JDK.
|
|