I have enabled TLSv1.2 in my server (View site information says 'Not Secure with red caution icon')
And I'm using the following code to connect from Java class
Client client = ClientBuilder.newClient(); WebTarget authTarget = client.target(restResource).path(path); Invocation.Builder invocationBuilder = authTarget.request(MediaType.APPLICATION_JSON); Response response = invocationBuilder.post(Entity.entity(null,MediaType.APPLICATION_JSON_TYPE));
I receive the following exception.
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
What am I missing here, I'm new to https connection.