File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mike London
Ranch Hand
Posts: 1158
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic