tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Usage of Tomcat SSL in client-side class
Date Tue, 16 Nov 2010 21:55:37 GMT
-----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
View raw message