- 浏览: 3506857 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
wanglf1207:
EJB的确是个不错的产品,只是因为用起来有点门槛,招来太多人吐 ...
weblogic-ejb-jar.xml的元素解析 -
qwfys200:
总结的不错。
Spring Web Flow 2.0 入门 -
u011577913:
u011577913 写道也能给我发一份翻译文档? 邮件437 ...
Hazelcast 参考文档-4 -
u011577913:
也能给我发一份翻译文档?
Hazelcast 参考文档-4 -
songzj001:
DbUnit入门实战
1.准备
:(1)安装j2sdk1.4.2_02到C:\j2sdk1.4.2_02。
(2)复制ejbca到C:\ejbca,jboss-3.2.5到C:\jboss-3.2.5,apache-ant-1.6.1到C:\apache-ant-1.6.1。
(3)添加环境变量: Path:C:\j2sdk1.4.2_02\bin;C:\jboss-3.2.5\bin;C:\apache-ant-1.6.1\bin
Classpath: C:\j2sdk1.4.2_02\lib
JAVA_HOME: C:\j2sdk1.4.2_02
JBOSS_HOME: C:\jboss-3.2.5
ANT_HOME: C:\apache-ant-1.6.1
EJBCA_HOME:C:\ejbca
(4)
在下载JDK的地方下载 "Unlimited Strength Jurisdiction Policy
Files",将解压后的jce_policy-1_4_2\jce中的local_policy.jar和US_export_policy.jar复
制,覆盖C:\Program Files\Java\j2re1.4.2_02\lib\security中的同名文件。
(5)运行jboss的run.bat。待jboss完全启动后,在浏览器中访问http://localhost:8080
,出现jboss欢迎页面便表示jboss成功运行。然后一定要停止jboss运行。
2.启动
:(1)运行cmd,进入C:\ejbca。
(2)C:\ejbca>ant
(输出信息如下)
Buildfile: build.xml
init:
[mkdir] Created dir: C:\ejbca\tmp\classes
[mkdir] Created dir: C:\ejbca\dist
compile:
[javac] Compiling 462 source files to C:\ejbca\tmp\classes
[copy] Copying 466 files to C:\ejbca\src\java
apply.war:
[mkdir] Created dir: C:\ejbca\tmp\publicweb\apply.war
[copy] Copying 20 files to C:\ejbca\tmp\publicweb\apply.war
[copy] Copying 43 files to C:\ejbca\tmp\publicweb\apply.war\WEB-INF\classes
[jar] Building jar: C:\ejbca\dist\apply.war
status.war:
[mkdir] Created dir: C:\ejbca\tmp\publicweb\status.war
[copy] Copying 1 file to C:\ejbca\tmp\publicweb\status.war
[copy] Copying 25 files to C:\ejbca\tmp\publicweb\status.war\WEB-INF\classes
[jar] Building jar: C:\ejbca\dist\status.war
webdist.war:
[mkdir] Created dir: C:\ejbca\tmp\publicweb\webdist.war
[copy] Copying 7 files to C:\ejbca\tmp\publicweb\webdist.war
[copy] Copying 47 files to C:\ejbca\tmp\publicweb\webdist.war\WEB-INF\class
es
[jar] Building jar: C:\ejbca\dist\webdist.war
ca.jar:
[mkdir] Created dir: C:\ejbca\tmp\ca\ca.jar
[copy] Copying 435 files to C:\ejbca\tmp\ca\ca.jar
[jar] Building jar: C:\ejbca\dist\ca.jar
log.jar:
[mkdir] Created dir: C:\ejbca\tmp\log.jar
[copy] Copying 10 files to C:\ejbca\tmp\log.jar
[copy] Copying 23 files to C:\ejbca\tmp\log.jar
[jar] Building jar: C:\ejbca\dist\log.jar
authorization.jar:
[mkdir] Created dir: C:\ejbca\tmp\authorization.jar
[copy] Copying 9 files to C:\ejbca\tmp\authorization.jar
[copy] Copying 90 files to C:\ejbca\tmp\authorization.jar
[jar] Building jar: C:\ejbca\dist\authorization.jar
hardtoken.jar:
[mkdir] Created dir: C:\ejbca\tmp\hardtoken.jar
[copy] Copying 9 files to C:\ejbca\tmp\hardtoken.jar
[copy] Copying 64 files to C:\ejbca\tmp\hardtoken.jar
[jar] Building jar: C:\ejbca\dist\hardtoken.jar
keyrecovery.jar:
[mkdir] Created dir: C:\ejbca\tmp\keyrecovery.jar
[copy] Copying 10 files to C:\ejbca\tmp\keyrecovery.jar
[copy] Copying 28 files to C:\ejbca\tmp\keyrecovery.jar
[jar] Building jar: C:\ejbca\dist\keyrecovery.jar
ra.jar:
[mkdir] Created dir: C:\ejbca\tmp\ra.jar
[copy] Copying 11 files to C:\ejbca\tmp\ra.jar
[copy] Copying 94 files to C:\ejbca\tmp\ra.jar
[jar] Building jar: C:\ejbca\dist\ra.jar
adminweb.war:
[mkdir] Created dir: C:\ejbca\tmp\adminweb.war
[copy] Copying 95 files to C:\ejbca\tmp\adminweb.war
[copy] Copying 13 files to C:\ejbca\tmp\adminweb.war\WEB-INF\classes
[jar] Building jar: C:\ejbca\dist\adminweb.war
ca.ear:
[mkdir] Created dir: C:\ejbca\tmp\ca\ear
[copy] Copying 1 file to C:\ejbca\tmp\ca\ear\ear
[copy] Copying 7 files to C:\ejbca\tmp\publicweb\publicwebroot.war
[jar] Building jar: C:\ejbca\tmp\ca\ear\ear\publicwebroot.war
[copy] Copying 10 files to C:\ejbca\tmp\ca\ear\ear
[copy] Copying 7 files to C:\ejbca\tmp\ca\ear\ear\lib
[jar] Building jar: C:\ejbca\dist\ejbca-ca.ear
admin.jar:
[mkdir] Created dir: C:\ejbca\tmp\adminjar
[copy] Copying 2 files to C:\ejbca\tmp\adminjar
[copy] Copying 221 files to C:\ejbca\tmp\adminjar
[jar] Building jar: C:\ejbca\admin.jar
build:
BUILD SUCCESSFUL
Total time: 36 seconds
(3)C:\ejbca>ant deploy
(输出信息如下)
Buildfile: build.xml
init:
compile:
apply.war:
status.war:
webdist.war:
ca.jar:
ra.jar:
adminweb.war:
log.jar:
hardtoken.jar:
keyrecovery.jar:
authorization.jar:
ca.ear:
admin.jar:
deploy:
[copy] Copying 1 file to C:\jboss-3.2.5\server\default\deploy
[copy] Copying C:\ejbca\dist\ejbca-ca.ear to C:\jboss-3.2.5\server\default\
deploy\ejbca-ca.ear
BUILD SUCCESSFUL
Total time: 4 seconds
(4)启动jboss。(注意:光标不要在jboss的cmd窗口中选定或点击,这样会使jboss停止运行)
(5)C:\ejbca>install
(输出信息如下)
Welcome to EJBCA Installation
This script acts as a wizard helping you with the installation of your Certifica
te Authority.
Before the installation will begin make sure of the following preparations have
been done:
1. The EJBCA application is deployed to the application server. ('ant deploy')
2. You run this installation with access to administrative privileges.
Is these requirements meet (Yes/No) :
(6)输入y
(输出信息如下)
This installation will create a first administrative CA. This CA will be used to create the first
superadministrator and for the SSL server certificate of administrative web server.
When the administrative web server have been setup you can create other CA:s and administrators.
Please enter the short name for the CA.
This is only used for administrative purposes,
avoid spaces or odd characters (Ex 'AdminCA1') :
(7)输入MyCA1
(输出信息如下)
Enter the Distinguished Name of the CA. This is used in the CA certificate to
distinguish the CA. (Ex 'CN=AdminCA1,O=PrimeKey Solutions AB,C=SE') :
(8)输入CN=MyCA1,O=PrimeKey Solutions AB,C=SE
(输出信息如下)
Enter the keysize in bits of the CA, only digits. (Ex '2048') :
(9)输入2048
(输出信息如下)
Enter the validity in days for the CA, only digits (Ex '3650') :
(10)输入3650
(输出信息如下)
Enter the policy id of the CA. Policy id determine which PKI policy the CA uses.
Type your policy id or use '2.5.29.32.0' for any policy or 'NO' for no policy at all.(Ex '2.5.29.32.0') :
(11)输入2.5.29.32.0
(输出信息如下)
Now for some information required to set up the administration web interface.
Please enter the computer name of CA server. (Ex 'caserver.primekey.se') :
(12)输入cwa
(输出信息如下)
Enter the Distinguished Name of the SSL server certificate used by the administrative web gui
(Ex 'CN=caserver.primekey.se,O=PrimeKey Solutions AB,C=SE') :
(13)输入CN=cwa,O=PrimeKey Solutions AB,C=SE
(输出信息如下)
Enter a good password for the super administrators keystore. Please remember this one:
(14)输入12345678
(输出信息如下)
You have entered the following data :
CA short name : MyCA1
Distinguished Name CA : CN=MyCA1,O=PrimeKey Solutions AB
Keysize of the CA : 2048
Validity in days for the CA : 3650
Policy id of the CA : 2.5.29.32.0
Computer name of CA server : cwa
Distinguished Name of the SSL server certificate : CN=cwa,O=PrimeKey Solutions A
B,C=SE
Password for the super administrators keystore : 12345678
Is this correct ( Yes/No/Exit ) :
(15)输入y
(输出信息如下)
The installation will now start, please wait .....
Initializing CA
Generating rootCA keystore:
DN: CN=MyCA1,O=PrimeKey Solutions AB
Keysize: 2048
Validity (days): 3650
Policy ID: 2.5.29.32.0
Initalizing Temporary Authorization Module.
Creating CA...
CAId for created CA: -282619070
-Created and published initial CRL.
CA initialized
Setup of Administration Web Interface have started, this will take a minute to c
omplete ....
keytool错误: java.lang.Exception: 别名 <EJBCA-CA> 不存在
认证已添加至keystore中
The installation is now complete.
Proceed with the following steps in order to start administrating EJBCA.
1. Restart the application server.
2. Import the p12/superadmin.p12 file in your browser.
3. Go to the following URL: https://<computername>:8443/ejbca/adminweb
4. And now your are all set to start using EJBCA.
If you are interested in professional support of EJBCA and PKI related question
s,
please contact PrimeKey Solutions AB, Sweden at ejbca@primekey.se
or www.primeke
y.se for more information.
(16)停止jboss运行,再重启。
(17)在IE的”工具>Internet选项>内容>证书“中”导入“证书superadmin.p12,位置在C:\ejbca\p12。为私钥键入密码:12345678。点击”是“,安装证书。
(18)在浏览器中访问https://localhost:8443/ejbca/adminweb
。(注意:是https://)。出现“安全警报”对话框,点击“是”,即可进入EJBCA界面。
或者
运行ejbca\runtest.cmd来测试。
(输出信息如下)(注:虽然其中显示有2个failure)
C:\ejbca>cd src\java
C:\ejbca\src\java>rem Check for proper settings of environment variables
C:\ejbca\src\java>if "C:\jboss-3.2.5" == "" goto error
C:\ejbca\src\java>rem JBoss
C:\ejbca\src\java>set
TEST_CP=.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
C:\ejbca\src\java>rem Weblogic
C:\ejbca\src\java>rem
set
TEST_CP=.;..\..\lib\weblogic.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
C:\ejbca\src\java>if "-" == "web" goto webtest
C:\ejbca\src\java>echo Testing ca
Testing ca
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ca.caadmin.junit.TestRunnerStart
...
Time: 35.422
OK (3 tests)
C:\ejbca\src\java>echo Testing utils
Testing utils
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.util.junit.TestRunner
.............
Time: 3.453
OK (13 tests)
C:\ejbca\src\java>echo Testing messages
Testing messages
C:\ejbca\src\java>rem
java -cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.protocol.junit.TestRunner
C:\ejbca\src\java>echo Testing raadmin
Testing raadmin
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ra.raadmin.junit.TestRunner
.........
Time: 11.016
OK (9 tests)
C:\ejbca\src\java>echo Testing ra
Testing ra
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ra.junit.TestRunner
.........
Time: 1.563
OK (9 tests)
C:\ejbca\src\java>echo Testing ca.auth
Testing ca.auth
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ca.auth.junit.TestRunner
.....
Time: 0.891
OK (5 tests)
C:\ejbca\src\java>echo Testing ca.store
Testing ca.store
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ca.store.junit.TestRunner
.....................
Time: 2.921
OK (21 tests)
C:\ejbca\src\java>echo Testing ca.sign
Testing ca.sign
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ca.sign.junit.TestRunner
........
Time: 4.312
OK (8 tests)
C:\ejbca\src\java>echo Testing ca.crl
Testing ca.crl
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ca.crl.junit.TestRunner
...
Time: 1.547
OK (3 tests)
C:\ejbca\src\java>echo Testing ca.publisher
Testing ca.publisher
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ca.publisher.junit.TestRunner
.........
Time: 1.672
OK (9 tests)
C:\ejbca\src\java>echo Testing batch
Testing batch
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.batch.junit.TestRunner
..0 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Generating for all NEW.
0 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Generating for all NEW.
47 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Batch generating 2 users.
47 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Batch generating 2 users.
47 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Generating keys for 017108
47 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Generating keys for 017108
2000 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Created Keystore for 017108.
2000 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Created Keystore for 017108.
2047 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Generating keys for 080567
2047 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Generating keys for 080567
3141 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Created Keystore for 080567.
3141 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - Created Keystore for 080567.
3188 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - 2 new users generated successfully - :017108:080567
3188 [main] INFO se.anatom.ejbca.batch.BatchMakeP12 - 2 new users generated successfully - :017108:080567
Time: 4.344
OK (2 tests)
C:\ejbca\src\java>echo Testing log
Testing log
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.log.junit.TestRunner
..
Time: 0.531
OK (2 tests)
C:\ejbca\src\java>echo Testing keyrecovery
Testing keyrecovery
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.keyrecovery.junit.TestRunner
.F.F.
Time: 0.344
There were 2 failures:
1)
test01AddKeyPair(se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery)junit.framework.AssertionFailedError:
Couldn't save key's in database
at se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery.test01AddKeyPair(TestKeyRecovery.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at se.anatom.ejbca.keyrecovery.junit.TestRunner.main(TestRunner.java:37)
2)
test02MarkAndRecoverKeyPair(se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery)junit.framework.AssertionFailedError:
Couldn't mark user for recovery in database
at se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery.test02MarkAndRecoverKeyPair(TestKeyRecovery.java:149)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at se.anatom.ejbca.keyrecovery.junit.TestRunner.main(TestRunner.java:37)
FAILURES!!!
Tests run: 3, Failures: 2, Errors: 0
C:\ejbca\src\java>echo Testing hardtoken
Testing hardtoken
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.hardtoken.junit.TestRunner
.............
Time: 4.688
OK (13 tests)
C:\ejbca\src\java>java
-cp
.;C:\jboss-3.2.5\client\jnp-client.jar;C:\jboss-3.2.5\client\jbossall-client.jar;C:\jboss-3.2.5\client\jboss-client.jar;C:\jboss-3.2.5\client\jboss-j2ee.jar;C:\jboss-3.2.5\client\jbosssx-client.jar;C:\jboss-3.2.5\client\jboss-common-client.jar;..\..\lib\junit.jar;..\..\lib\log4j-1.2.7.jar;..\..\lib\bcprov-jdk14-124.jar;..\..\lib\bcmail-jdk14-124.jar;..\..\lib\ldap.jar;..\..\lib\httpunit.jar
se.anatom.ejbca.ca.caadmin.junit.TestRunnerEnd
.
Time: 0.453
OK (1 tests)
C:\ejbca\src\java>goto end
C:\ejbca\src\java>cd ..\..
(19)注:以后每次安装CA,只需要将原jboss彻底删除,再重新在原位置拷上一个jboss即可。
3.常见问题及原因:
(1)问题:install成功,但不能访问https://localhost:8443/ejbca/adminweb
。
原因:可能是https写成了http。
(2)
(输出错误信息如下)
0 [main] ERROR se.anatom.ejbca.admin.Install - Appserver not running:
javax.naming.NameNotFoundException: CAAdminSession not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:
60)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTranspor
.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unkno
n Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(Unknown Source)
at se.anatom.ejbca.admin.BaseCommand.appServerRunning(BaseCommand.java:4)
at se.anatom.ejbca.admin.Install.checkRequirements(Install.java:133)
at se.anatom.ejbca.admin.Install.run(Install.java:91)
at se.anatom.ejbca.admin.Install.main(Install.java:111)
The Application Server must be started in order to install EJBCA.
原因:开始启动了jboss以测试其是否可用,没有停止jboss的运行。(注:启动jboss测试后,jboss中新产生了一些文件)
解决方法:要在install前才运行jboss。
附:jboss输出信息(从install到进入EJBCA界面)
========================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss-3.2.5\bin\\..
.
JAVA: C:\j2sdk1.4.2_02\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH: C:\j2sdk1.4.2_02\lib\tools.jar;C:\jboss-3.2.5\bin\\run.jar
.
===============================================================================
.
13:20:13,765 INFO [Server] Starting JBoss (MX MicroKernel)...
13:20:13,765 INFO [Server] Release ID: JBoss [WonderLand] 3.2.5 (build: CVSTag=
JBoss_3_2_5 date=200406251954)
13:20:13,765 INFO [Server] Home Dir: C:\jboss-3.2.5
13:20:13,765 INFO [Server] Home URL: file:/C:/jboss-3.2.5/
13:20:13,765 INFO [Server] Library URL: file:/C:/jboss-3.2.5/lib/
13:20:13,765 INFO [Server] Patch URL: null
13:20:13,765 INFO [Server] Server Name: default
13:20:13,765 INFO [Server] Server Home Dir: C:\jboss-3.2.5\server\default
13:20:13,765 INFO [Server] Server Home URL: file:/C:/jboss-3.2.5/server/default
/
13:20:13,765 INFO [Server] Server Data Dir: C:\jboss-3.2.5\server\default\data
13:20:13,765 INFO [Server] Server Temp Dir: C:\jboss-3.2.5\server\default\tmp
13:20:13,765 INFO [Server] Server Config URL: file:/C:/jboss-3.2.5/server/defau
lt/conf/
13:20:13,765 INFO [Server] Server Library URL: file:/C:/jboss-3.2.5/server/defa
ult/lib/
13:20:13,765 INFO [Server] Root Deployment Filename: jboss-service.xml
13:20:13,765 INFO [Server] Starting General Purpose Architecture (GPA)...
13:20:14,125 INFO [ServerInfo] Java version: 1.4.2_02,Sun Microsystems Inc.
13:20:14,140 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_02-b03
,Sun Microsystems Inc.
13:20:14,140 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
13:20:14,453 INFO [Server] Core system initialized
13:20:17,109 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
13:20:17,437 INFO [WebService] Using RMI server codebase: http://cwa:8083/
13:20:17,531 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=5
0, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jbo
ss.net.sockets.DefaultSocketFactory@ad093076
13:20:20,921 INFO [RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA dr
ivers
13:20:20,921 INFO [RARMetaData] Required license terms present. See deployment
descriptor.
13:20:23,625 INFO [MailService] Mail Service bound to java:/Mail
13:20:24,265 INFO [Embedded] Catalina naming disabled
13:20:25,015 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
-8080
13:20:25,265 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
-8442
13:20:25,281 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
-8443
13:20:25,281 INFO [Catalina] Initialization processed in 906 ms
13:20:25,281 INFO [StandardService] Starting service jboss.web
13:20:25,281 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.2
6
13:20:25,296 INFO [StandardHost] XML validation disabled
13:20:25,531 INFO [Catalina] Server startup in 250 ms
13:20:25,625 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:25,640 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jb
oss-3.2.5/server/default/deploy/http-invoker.sar/invoker.war/
13:20:26,656 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:26,656 INFO [TomcatDeployer] deploy, ctxPath=, warUrl=file:/C:/jboss-3.2.
5/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
13:20:26,890 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:26,890 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file
:/C:/jboss-3.2.5/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war
/
13:20:27,109 INFO [DefaultDS] Bound connection factory for resource adapter for
ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'jav
a:/DefaultDS'
13:20:27,375 INFO [A] Bound to JNDI name: queue/A
13:20:27,375 INFO [B] Bound to JNDI name: queue/B
13:20:27,375 INFO [C] Bound to JNDI name: queue/C
13:20:27,375 INFO [D] Bound to JNDI name: queue/D
13:20:27,390 INFO [ex] Bound to JNDI name: queue/ex
13:20:27,421 INFO [testTopic] Bound to JNDI name: topic/testTopic
13:20:27,437 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
13:20:27,437 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
13:20:27,437 INFO [testQueue] Bound to JNDI name: queue/testQueue
13:20:27,531 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
13:20:27,593 INFO [DLQ] Bound to JNDI name: queue/DLQ
13:20:27,609 INFO [JmsXA] Bound connection factory for resource adapter for Con
nectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'
13:20:27,687 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C
:/jboss-3.2.5/server/default/deploy/jmx-console.war/
13:20:28,453 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C
:/jboss-3.2.5/server/default/tmp/deploy/tmp13113web-console.war/
13:20:29,234 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.5/ser
ver/default/deploy/ejbca-ca.ear
13:20:31,093 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:31,593 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:33,140 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:33,468 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:34,046 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=null
13:20:34,453 INFO [EjbModule] Deploying AdminGroupData
13:20:34,656 INFO [EjbModule] Deploying AdminEntityData
13:20:34,671 INFO [EjbModule] Deploying AccessRulesData
13:20:34,687 INFO [EjbModule] Deploying AuthorizationTreeUpdateData
13:20:34,687 INFO [EjbModule] Deploying AuthorizationSession
13:20:34,984 INFO [EjbModule] Deploying KeyRecoveryData
13:20:34,984 INFO [EjbModule] Deploying KeyRecoverySession
13:20:35,250 INFO [EjbModule] Deploying UserData
13:20:35,265 INFO [EjbModule] Deploying GlobalConfigurationData
13:20:35,281 INFO [EjbModule] Deploying AdminPreferencesData
13:20:35,296 INFO [EjbModule] Deploying EndEntityProfileData
13:20:35,312 INFO [EjbModule] Deploying UserAdminSession
13:20:35,328 INFO [EjbModule] Deploying RaAdminSession
13:20:35,875 INFO [EjbModule] Deploying CertificateData
13:20:35,890 INFO [EjbModule] Deploying CRLData
13:20:35,890 INFO [EjbModule] Deploying CertificateProfileData
13:20:35,906 INFO [EjbModule] Deploying PublisherData
13:20:35,921 INFO [EjbModule] Deploying CAData
13:20:35,937 INFO [EjbModule] Deploying RSASignSession
13:20:35,937 INFO [EjbModule] Deploying AuthenticationSession
13:20:35,953 INFO [EjbModule] Deploying CAAdminSession
13:20:35,968 INFO [EjbModule] Deploying CertificateStoreSession
13:20:35,968 INFO [EjbModule] Deploying CreateCRLSession
13:20:35,984 INFO [EjbModule] Deploying PublisherSession
13:20:36,000 INFO [EjbModule] Deploying UpgradeSession
13:20:36,843 INFO [EjbModule] Deploying HardTokenProfileData
13:20:36,859 INFO [EjbModule] Deploying HardTokenIssuerData
13:20:36,875 INFO [EjbModule] Deploying HardTokenData
13:20:36,890 INFO [EjbModule] Deploying HardTokenPropertyData
13:20:36,906 INFO [EjbModule] Deploying HardTokenCertificateMap
13:20:36,906 INFO [EjbModule] Deploying HardTokenSession
13:20:36,921 INFO [EjbModule] Deploying HardTokenBatchJobSession
13:20:37,156 INFO [EjbModule] Deploying LogEntryData
13:20:37,171 INFO [EjbModule] Deploying LogConfigurationData
13:20:37,187 INFO [EjbModule] Deploying LogSession
13:20:38,750 INFO [AdminGroupData] Table 'ADMINGROUPDATA' already exists
13:20:38,937 INFO [AccessRulesData] Table 'ACCESSRULESDATA' already exists
13:20:38,953 INFO [AuthorizationTreeUpdateData] Table 'AUTHORIZATIONTREEUPDATED
ATA' already exists
13:20:38,968 INFO [AdminEntityData] Table 'ADMINENTITYDATA' already exists
13:20:39,062 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp13114ejbca-ca.ear-contents/authorization.jar
13:20:39,265 INFO [KeyRecoveryData] Table 'KEYRECOVERYDATA' already exists
13:20:39,312 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp13114ejbca-ca.ear-contents/keyrecovery.jar
13:20:39,531 INFO [AdminPreferencesData] Table 'ADMINPREFERENCESDATA' already e
xists
13:20:39,546 INFO [UserData] Table 'USERDATA' already exists
13:20:39,593 INFO [EndEntityProfileData] Table 'ENDENTITYPROFILEDATA' already e
xists
13:20:39,609 INFO [GlobalConfigurationData] Table 'GLOBALCONFIGURATIONDATA' alr
eady exists
13:20:39,734 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp13114ejbca-ca.ear-contents/ra.jar
13:20:40,031 INFO [CAData] Table 'CADATA' already exists
13:20:40,062 INFO [CertificateData] Table 'CERTIFICATEDATA' already exists
13:20:40,093 INFO [CertificateProfileData] Table 'CERTIFICATEPROFILEDATA' alrea
dy exists
13:20:40,109 INFO [CRLData] Table 'CRLDATA' already exists
13:20:40,125 INFO [PublisherData] Table 'PUBLISHERDATA' already exists
13:20:40,437 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp13114ejbca-ca.ear-contents/ca.jar
13:20:40,687 INFO [HardTokenData] Table 'HARDTOKENDATA' already exists
13:20:40,687 INFO [HardTokenIssuerData] Table 'HARDTOKENISSUERDATA' already exi
sts
13:20:40,703 INFO [HardTokenProfileData] Table 'HARDTOKENPROFILEDATA' already e
xists
13:20:40,718 INFO [HardTokenCertificateMap] Table 'HARDTOKENCERTIFICATEMAP' alr
eady exists
13:20:40,734 INFO [HardTokenPropertyData] Table 'HARDTOKENPROPERTYDATA' already
exists
13:20:40,843 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp13114ejbca-ca.ear-contents/hardtoken.jar
13:20:41,015 INFO [LogConfigurationData] Table 'LOGCONFIGURATIONDATA' already e
xists
13:20:41,015 INFO [LogEntryData] Table 'LOGENTRYDATA' already exists
13:20:41,062 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/default/t
mp/deploy/tmp13114ejbca-ca.ear-contents/log.jar
13:20:41,093 INFO [TomcatDeployer] deploy, ctxPath=/ejbca, warUrl=file:/C:/jbos
s-3.2.5/server/default/tmp/deploy/tmp13114ejbca-ca.ear-contents/publicwebroot.wa
r/
13:20:41,250 INFO [TomcatDeployer] deploy, ctxPath=/ejbca/publicweb/webdist, wa
rUrl=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp13114ejbca-ca.ear-content
s/webdist.war/
13:20:41,421 INFO [TomcatDeployer] deploy, ctxPath=/ejbca/adminweb, warUrl=file
:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp13114ejbca-ca.ear-contents/adminwe
b.war/
13:20:41,781 INFO [TomcatDeployer] deploy, ctxPath=/ejbca/publicweb/status, war
Url=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp13114ejbca-ca.ear-contents
/status.war/
13:20:41,937 INFO [TomcatDeployer] deploy, ctxPath=/ejbca/publicweb/apply, warU
rl=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp13114ejbca-ca.ear-contents/
apply.war/
13:20:42,109 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-3.2.5/
server/default/deploy/ejbca-ca.ear
13:20:42,265 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3
_2_5 date=200406251954)] Started in 28s:500ms
13:20:42,265 INFO [Tomcat5] Saw org.jboss.system.server.started notification, s
tarting connectors
13:20:42,328 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
13:20:42,500 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
13:20:42,500 INFO [JkMain] Jk running ID=0 time=0/47 config=null
13:20:42,531 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-844
2
13:20:42,546 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-844
3
13:23:40,921 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分40秒, CAId : -1127
771050, ADMINWEB, EVENT_INFO_ADMINISTRATORLOGGEDIN, Administrator : CLIENTCERT,
Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, User
: No User Involved, Certificate : No Certificate Involved, Comment :
13:23:41,078 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分41秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:42,546 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分42秒, CAId : -1127
771050, ADMINWEB, EVENT_INFO_ADMINISTRATORLOGGEDIN, Administrator : CLIENTCERT,
Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, User
: No User Involved, Certificate : No Certificate Involved, Comment :
13:23:42,593 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分42秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:43,687 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分43秒, CAId : -1127
771050, ADMINWEB, EVENT_INFO_ADMINISTRATORLOGGEDIN, Administrator : CLIENTCERT,
Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, User
: No User Involved, Certificate : No Certificate Involved, Comment :
13:23:43,734 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分43秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:44,734 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分44秒, CAId : -1127
771050, ADMINWEB, EVENT_INFO_ADMINISTRATORLOGGEDIN, Administrator : CLIENTCERT,
Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, User
: No User Involved, Certificate : No Certificate Involved, Comment :
13:23:44,750 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分44秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:45,843 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分45秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:53,500 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分53秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:54,000 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分53秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:54,046 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分54秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:54,078 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分54秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
13:23:54,187 INFO [Log4jLogDevice] 2006年2月24日 下午01时23分54秒, CAId : -1127
771050, AUTHORIZATION, EVENT_INFO_AUTHORIZEDTORESOURCE, Administrator : CLIENTCE
RT, Certificate SNR : 5e9949eb8e765e94, CN=MyCA1,O=PrimeKey Solutions AB,C=SE, U
ser : No User Involved, Certificate : No Certificate Involved, Comment : Resourc
e : /administrator
你可以通过这个链接引用该篇文章:http://ananchina.bokee.com/viewdiary.10245357.html
发表评论
-
ActiveX控件在签名以后,仍然被IE浏览器默认安全级阻止而无法安装。
2011-11-18 08:56 5442使用代码签名证书签名后的控件在运行时报“Internet ... -
网络数据库的访问控制
2011-06-25 12:54 1940... -
PKI与PMI技术 - 基于角色管理的系统访问控制
2011-06-25 12:44 19481. 引言 ... -
PKI标准可以分为第一代和第二代标准
2011-04-24 11:47 1943第一代PKI标准主要包括 ... -
EJBCA安装的文档
2010-06-13 23:32 1592一 准备工作(本文档中的路径均为我自己在安装时的路径) 使用 ... -
EJBCA Quick start guide
2010-06-07 22:46 4901Quick start guide ... -
免费开源安全网关Untangle
2010-03-05 15:50 3477Untangle Gateway是基于KNOP ... -
Zabbix - 基于WEB企业级的系统与网络信息监视系统
2010-03-05 15:45 2199zabbix能监视各种网络参数,保证服务器系统的安全运营;并提 ... -
EJBCA初步探究(配置)
2010-01-14 23:03 4241EJBCA技术概述: EJB:EJB(Enterpris ... -
EJBCA安装的文档
2010-01-14 22:54 2277一 准备工作(本文档中的路径均为我自己在安装时的路径) 使用 ... -
EJBCA+JBOSS+Oracle 安装手册
2009-10-20 01:26 2779EJBCA是一个全功能的CA系统软件,它基于J2EE技术, ... -
EJBCA+MySQL准备与安装配置
2009-10-20 01:15 2213测试需要 (winxp pro,2003s ... -
EJBCA安装步骤
2009-10-20 01:14 3028经过几天的努力终于把EJBCA安装上了,下面是我的安装文档,希 ... -
EJBCA--免费的CA证书管理中心
2009-10-18 02:44 4198最近要做ca认证中心,找 ... -
对网站安全性测试的个人见解
2009-06-03 11:53 2094本人从事网站测试工作已经三年了我个人认为一个完整的Web安 ... -
在网站测试中如何做好安全性测试?
2009-06-03 11:50 2674软件测试每周一问:随着网络发展的趋势,对于网站的安全性的要求 ... -
SSO(Single Sign-on) in Action(上篇)
2009-02-25 13:34 2153http://www.blogjava.net/securit ... -
实现基于Spring框架应用的权限控制系统
2008-11-06 11:52 2033关键词 Spring ;Acegi ; ... -
不可逆加密算法
2008-10-09 16:25 2587不可逆加密算法的特征是加密过程中不需要使用密钥,输入明文后 ... -
信息系统安全等级2
2008-09-18 00:55 18992 定 ...
相关推荐
### EJBCA安装过程详解 #### 一、EJBCA概述 EJBCA是一套基于J2EE的企业级证书颁发系统,为各种应用提供了强大的数字...以上步骤详细介绍了EJBCA的安装过程及其关键配置,有助于用户顺利部署并使用该证书颁发系统。
通过EJBCA的“EJBCA总结”文档,你可能能找到更详细的安装和使用指南,包括遇到问题时的解决方案和最佳实践。这份文档可能会涵盖EJBCA的高级功能,如OCSP(Online Certificate Status Protocol)服务、CRL...
### 基于EJBCA 搭建自己的CA认证中心之EJBCA安装配置指南 #### 1. 概述 公钥基础设施(Public Key Infrastructure, ...在未来的内容中,我们将详细介绍剩余部分的安装和配置流程,确保整个系统能够稳定高效地运行。
- 在安装过程中,请确保所有依赖软件均正确安装且版本兼容。 - 特别注意环境变量的设置,确保所有路径都准确无误。 - 在配置文件中,务必仔细检查并填写正确的参数值,特别是数据库连接信息和管理员密码等敏感信息。...
这篇内容主要针对EJBCA的构建过程进行详细阐述,旨在帮助用户理解并成功搭建自己的CA系统。 **一、PKI概述** PKI(Public Key Infrastructure)公钥基础设施是一种基于非对称加密技术的网络安全解决方案。它通过...
在本文中,我们将详细讨论EJBCA的核心功能、安装过程以及与JBoss的集成。 1. **EJBCA核心功能**: - **证书颁发机构(CA)**:EJBCA作为CA,能够创建、签发、撤销和管理数字证书,符合X.509标准。 - **证书生命...
本文档提供了详细的部署指南,包括如何安装EJBCA以及如何配置相关设置。 ##### 7.2 MySQL集成 针对使用MySQL作为后端数据库的情况,本文档也提供了具体的集成步骤。 #### 八、高级功能 ##### 8.1 高级配置选项 ...
3. 脚本和工具:可能有用于安装、初始化、备份和恢复EJBCA环境的脚本,以及用于管理证书和密钥的工具。 4. 文档:可能包含详细的用户指南、开发者文档和API参考,帮助用户理解和操作EJBCA系统。 部署和使用EJBCA...
本篇文章将详细讲解"jboss-3.2.5.zip"这一版本的JBoss安装、配置及EJBCA的安装和设置过程。 一、JBoss 3.2.5简介 JBoss 3.2.5是在2004年发布的一个版本,它是Java社区的重要里程碑,为开发者提供了轻量级、开源的...
7. **开源PKI项目介绍**:详细介绍各个开源PKI实现的特性、安装和配置方法。 8. **案例研究**:实际应用场景中PKI的部署和管理经验。 通过阅读这本书,读者可以深入了解PKI的概念和技术,掌握如何利用开源工具构建...