java - Servlet and TLS -


i'm developing simple web services using java ee servlets.

my clients simple java apps (no browsers), need secure communication using tls (or ssl v3). application server, i'm using glassfish v3. example, need transfer data client server within http post request secure connection. there external libraries, server configurations or tutorial can use?

on server side must somehow expose servlets via https. if using , check out ssl configuration how-to. if have apache web server in front, see: apache ssl/tls encryption.

on client side , support built jdk, call https://... address using urlconnection. remember certificate server uses must trusted - either confirmed authority or added manually on client. self-signed certificates default won't accepted.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -