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 tomcat, check out ssl configuration how-to. if have apache web server in front, see: apache ssl/tls encryption.
on client side ssl , https 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
Post a Comment