This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to install an SSL Cert for a JAX-WS Service? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How to install an SSL Cert for a JAX-WS Service?" Watch "How to install an SSL Cert for a JAX-WS Service?" New topic
Author

How to install an SSL Cert for a JAX-WS Service?

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 952
After getting the the certification zip file back from the provider (GO DADDY), I notice that there are 4 files in the zip!

Huh?

The only resource I have says to point tomcat at the single keystore file via server.xml and also gives instructions on how to modify the client JAX-WS.

I'm assuming that the zip file is not the keystore file, or is it?

So, my question is, since this certificate did not come from a "top-tier" CA, how do I go about getting Tomcat to use it?

This may sound like a Tomcat question, but actually, I need to get my JAX-WS service to use this once Tomcat is happy.

Thanks to all for any help or suggestions.

-- Mike
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2194
Hi!
First of all, I assume you will need a SSL connector in Tomcat. This is also where you will install the certificate for the web service.
Good instructions are available at: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
Note that the default SSL connector uses port 8443, which you may want to change to port 443.
Second, you also need to configure the web.xml deployment descriptor of the web service like this:

Let me know if the above does not work for you.
Good luck!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to install an SSL Cert for a JAX-WS Service?
 
Similar Threads
calling web service from another web service logging
JaxWs https and certificates
Basic doubts regarding ssl with tomcat 5.5 ?
Call https .net webservice using Java client
how to create java client to access web services running on https/ssl