Thanks a lot Christopher, my web services are implemented using JAX WS API
and I am connecting using REST, I was planning to use Apache Http Commons
library for HTTPS as is the one I am using for simple HTTP connections...

2010/11/16 Christopher Schultz <ch...@christopherschultz.net>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Moley,
>
> On 11/16/2010 9:33 AM, Moley Harey wrote:
> > My question is what do I have to do in my Java client-side classes to
> work
> > with HTTPS requests [to] Tomcat? Do I have to accept somehow the
> certificate
> > provided by Tomcat in my Java classes?
>
> Yes. If you are using a certificate signed by a well-known CA (VeriSign,
> Thawte, etc.) then you probably don't need to do anything special. If
> you are using a self-signed certificate, you'll need to import that
> certificate into your certificate store (cacerts) and make sure that
> your client-side classes are configured to use it. Presumably, your web
> services client library makes this kind of thing easy.
>
> You'll, of course, have to use an "https://"; URL when trying to connect
> as well. Presumably, your web services client library makes this kind of
> thing easy.
>
> > Well, I'm totally newbie in these security issues :-/
>
> At least you're asking :)
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkzi/dkACgkQ9CaO5/Lv0PAMsgCfSV2S8E8leRxUlAMZnSnAuFRM
> wF8An2wUwuj4a6LnFZ/ZMB27saseiI2V
> =sbPz
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to