GlassFish Server 3.1.x Getting bad_certificate Error From SSL Web Service (Doc ID 1589554.1)

Last updated on APRIL 06, 2017

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.

Symptoms

On GlassFish Server 3.1.2.x when attempting to run a web service client that connects to a remote SSL server
the following error occurs.


The issue can be reproduced at will when ccessing a HTTPS Axis/web service to a remote SSL server even though the GlassFish server which is acting as the SSL client has all the required SSL server certificate loaded into it's trust store.

In this example, the SSL client may be an Axis web service client.

Changes

The same Aixs client code may work in GlassFish 3.0.1 by using the same Java version and keystore/trust store. In fact a standalone Java program of the same client works fine.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms