Hi,

I'have a problem while accessing to a web site via automatic test:
The url requested need of 2 certificates, I dowloaded both of them and I 
registered them by using keytool :
keytool -import -alias c1 -file c1.cer
keytool -import -alias c2 -file c2.cer
Now I've 2 certificate in my keystore (C:\Documents and 
Settings\user\.keystore).
Then I modified my jboss service script like this:

@echo off
set SERVICE_NAME=JBoss
set CONF=jbpm
set KEYPATH="D:\Documents and Settings\user"
set JDK=%JAVA_HOME%
set JBOSS_BIN=%JBOSS_HOME%\bin
set INITIAL_MEM=512M 
set MAX_MEM=1024M
JavaService.exe -install %SERVICE_NAME% %JDK%\jre\bin\server\jvm.dll 
-Djava.class.path=%JDK%\lib\tools.jar;%JBOSS_BIN%\run.jar 
-Djavax.net.ssl.trustStore=%KEYPATH%\.keystore 
-Djavax.net.ssl.trustStorePassword=consip -Xms%INITIAL_MEM% -Xmx%MAX_MEM% 
-start org.jboss.Main -params "-c%CONF%" -stop org.jboss.Main -method 
systemExit -out %JBOSS_BIN%\stdout.log -err %JBOSS_BIN%\stderr.log -current 
%JBOSS_BIN% 

but the following exception occured:

21:59:56,859 INFO  [STDOUT] javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorEx
ception: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: una
ble to find valid certification path to requested target
21:59:56,859 INFO  [STDOUT]     at 
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:
150)
21:59:56,859 INFO  [STDOUT]     at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.j
ava:1476)
21:59:56,859 INFO  [STDOUT]     at 
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:
174)
21:59:56,859 INFO  [STDOUT]     at 
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:
168)
.....

can anyone help me?

best regards

Marco




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907884#3907884

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907884


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to