tag:blogger.com,1999:blog-38586079.post5229552844110935684..comments2024-01-22T15:27:00.730+08:00Comments on One size doesn't fit all: One-Way SSL with JAX-WS using JDeveloper 11gR1 and WLS 10.3.1Chris Muirhttp://www.blogger.com/profile/06566648350240654621noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-38586079.post-59849789265733158012011-09-27T01:16:55.710+08:002011-09-27T01:16:55.710+08:00Thanks for the reference! :)Thanks for the reference! :)schrepflerhttps://www.blogger.com/profile/11267562525453712517noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-1169029678030049932009-12-02T06:29:31.170+08:002009-12-02T06:29:31.170+08:00For reference as passed on by Pas, the following M...For reference as passed on by Pas, the following Metalink notes exist:<br /><br />1. I have created a note for gerards demo.<br /><br />Note.882585.1 Securing a JAX-WS Web Service Within JDeveloper 11g R1 Using X509 Token Policy<br /><br />2. Now I have created a note on your one which won't be visible for a few more hours.<br /><br />Note.884650.1 Securing a JAX-WS Web Service Within JDeveloper 11g R1 Using One way SSLChris Muirhttps://www.blogger.com/profile/06566648350240654621noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-18342059912000859132009-09-11T09:07:59.889+08:002009-09-11T09:07:59.889+08:00Thanks chris works well. I did find that I needed ...Thanks chris works well. I did find that I needed to add the following java options to my client to avoid this run time error.<br /><br />Error<br />-----<br /><br />Exception in thread "main" javax.xml.ws.WebServiceException: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found<br /> at weblogic.wsee.jaxws.spi.WLSProvider.readWSDL(WLSProvider.java:322)<br /><br /><br />Solution<br />--------<br /><br />-Djavax.net.ssl.trustStore=D:\jdev11gr1\jdeveloper\jdev\mywork\OneWaySSLWebService\SecureProxyClient\keys\ServerTrust.jks -Djavax.net.ssl.trustStoreType=jks -Djavax.net.ssl.trustStorePassword=ServerTrustStorePassPas Apicellahttps://www.blogger.com/profile/09389663166398991762noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-81390499307953928012009-08-18T17:06:30.642+08:002009-08-18T17:06:30.642+08:00Came to be after your post, another way of seeing ...Came to be after your post, another way of seeing the HTTPS traffic is using the "-Djavax.net.debug=ssl" system property. <br /><br />This dumps out all of the certs and all of the traffic to the console, and can be useful when debugging ssl issues.<br /><br />GerardGerard Davisonhttps://www.blogger.com/profile/16521924431312439170noreply@blogger.com