tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moley Harey <moleyha...@gmail.com>
Subject Re: Usage of Tomcat SSL in client-side class
Date Wed, 17 Nov 2010 08:23:40 GMT
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 <chris@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message