Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- setting up an ssl web service & client

- setting up an ssl web service & client

2007-07-11       - By gryffin

 Back
I am running JBoss 4.0.5 w/ JbossWS 1.2.1.

I have enabled the SSL connector and am able to access the WSDL for my web
service using a browser on port 8443 with a certificate I created using keytool
.


The client works if I provide it the old http/port 80 URL in it's local WSDL.
If I try to aim it at https/port 8443, the client dies with the following error
:

 | Caused by: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
 |


<soap:address location="http://localhost:8080/NetworkService/NLS"/> <-- works
<soap:address location="https://localhost:8443/NetworkService/NLS"/> <-- doesn
't work

I have imported the server cert into a keystore in the client's bin directory.
I configured the client to use the keystore ( I believe ) by using jboss-wsse
-client.xml in the client's bin directory.

jboss-wsse-client.xml

 | <?xml version="1.0" encoding="utf-8 (See http://utf-8.ora-code.com)"?>
 | <jboss-ws-security
 |   xmlns="http://www.jboss.com/ws-security/config"
 |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 |   xsi:schemaLocation="http://www.jboss.com/ws-security/config"
 |   >
 |   <key-store-file>client.keystore</key-store-file>
 |   <key-store-password>shimdev</key-store-password>
 |     <config>
 |         <encrypt type="x509v1" alias="shimdev" />
 |         <requires>
 |             <signature />
 |         </requires>
 |     </config>
 | </jboss-ws-security>
 |


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4063132
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.