[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: RE: [JBoss-user] Jboss.net via https?
From: "John Fawcett" <jfawcett () tamalesoftware ! com>
Date: 2003-02-27 16:33:01
[Download RAW message or body]
Neal,
Thanks, this worked well. Now I can browse to the ?wsdl uri in IE.
Jetty was a breeze to configure. I am using jdk1.4.1, so to establish
the keystore entry for jetty, I issued:
keytool -genkey -keyalg RSA -storepass password -keypass password
And changed jbossweb.sar/META-INF/jboss-service.xml to include the
snippet:
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<!-- Add a HTTPS SSL listener on port 8843
-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SunJsseListener">
<Set name="Port">8443</Set>
<Set name="MinThreads">5</Set>
<Set name="MaxThreads">100</Set>
<Set name="MaxIdleTimeMs">30000</Set>
<Set name="LowResourcePersistTimeMs">2000</Set>
<!--Set name="Keystore"><SystemProperty name="jetty.home"
default="."/>/etc/demokeystore</Set-->
<Set name="Password">password</Set>
<Set name="KeyPassword">password</Set>
</New>
</Arg>
</Call>
Ultimately, I am consuming these webservices in a C# client. For HTTP,
I've been using wsdl.exe to generate the classes from the jboss.net
generated wsdl files. However, for https, wsdl.exe fails, citing the
error: "The underlying connection was closed: Could not establish trust
relationship with remote server."
On the first request IE, and the integrated webservice finder do-dad in
.Net studio, ask the user to verify the cert from the server. I suppose
the problem is wsdl.exe doesn't know how to accept a cert?
Thanks for the help,
fawce
-----Original Message-----
From: jboss-user-admin@lists.sourceforge.net
[mailto:jboss-user-admin@lists.sourceforge.net] On Behalf Of Neal Sanche
Sent: Thursday, February 27, 2003 10:07 AM
To: jboss-user@lists.sourceforge.net; John Fawcett
Subject: Re: [JBoss-user] Jboss.net via https?
On Wednesday 26 February 2003 03:25 pm, John Fawcett wrote:
> Hi,
>
> Is it possible to call webservices over https? I've looked through the
> Jboss book, and I think I am missing the method in all the (very
> interesting) detail...
I would think all you'd have to do is configure Jetty within JBoss to
have a JSSE listener, and you'd automatically have web services over
https. I haven't tried web services specifically, but the procedure
for enabling Jetty within JBoss to listen on HTTPS is pretty
straightforward. You basically go into
deploy/jbossweb.sar/META-INF/jboss-service.xml and uncomment and/or
modify the SunJsseListener section following the Jetty FAQ.
Once all of the configuration is done, you can try making calls to the
wsdl URIs to see if they work through SSL. I would think it would
work.
-Neal
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic