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

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

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

php - Get uncommon values from two or more arrays -