EJBCA installation documentation
Environment: WINXP database Integrated with EJBCA
Download Software:
1. jdk1.4.2: j2sdk-1_4_2_11-windows-i586-p.exe
2. "unlimited strength jurisdiction policy files": jce_policy-1_4_2.zip
3. apache-ant-1.6.2-bin.zip
4. jboss-3.2.5.zip
5. ejbca_3_0_2.zip
I. Preparations
1. install jdk1.4.2. The installation path is D:/ProgramFiles/j2sdk1.4.2 _ 11. Set java_home = D:/ProgramFiles/j2sdk1.4.2 _ 11; classpath + = .; % java_home %/lib/tools. jar; % java_home %/lib/DT. jar; % java_home %/JRE/lib/RT. jar; Path + = % java_home %/bin;
2. Install ant. Decompress the package to F:/project/apache_ant and set ant_home = F:/project/apache_ant; Path + = % ant_home %/bin;
3. install JBoss, decompress it to F:/project/JBoss, set jboss_home = F:/project/JBoss, set Path = % jboss_home %/bin; (try to run JBoss: run % jboss_home %/bin/run. bat, accessed with http: // localhost: 8080. The JBoss information indicates that JBoss has been installed successfully .)
4.decompress jce_policy-1_4_2.zip and copy local_policy.jar and us_export_policy.jar to % Java-home %/JRE/lib/security/to overwrite two files with the same name.
5. Set ejbca_home = F:/project/EJBCA;
Ii. Installation
1. Run CMD and execute ant under % ejbca_home %;
F:/project/EJBCA> ant
......
Build successful
2. Execute ant deploy under % ejbca_home %;
F:/project/EJBCA> ant deploy
......
Build successful
3. Run % jboss_home %/bin/run. BAT to start JBoss;
F:/project/JBoss/bin> Run. bat
(Wait until JBoss is fully enabled)
4. Run cmd, start the DOS window, enter % ejbca_home %, and run install.
F:/project/EJBCA> install
(Enter the information as prompted. Note: (1) Please enter the computer name of CA Server: name of the Local Computer; (2) Remember the password of the superuser keystore)
Iii. Testing
1. Restart JBoss (switch to the first DOS window, press Ctrl + C, close JBoss, and run. BAT to start JBoss again ).
2. Go to the % ejbca_home %/P12 directory, double-click superadmin. p12, and load the certificate into IE browser (Root CA is installed along with this process ).
3. Open IE, access https: // localhost: 8443/EJBCA/adminweb, and open the EJBCA admin interface.
The installation is successful.