javax.net.ssl.SSLKeyException:Fatal Alert:Bad_certificate Received When * found in Certificate Subject (Doc ID 1311464.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.1 to 10.3.5
Information in this document applies to any platform.
***Checked for relevance on 25-Aug-2015***

Symptoms

On WebLogic Server 10.3.1, when attempting to call a remote web service from a servlet, the following error occurs:

The issue can be reproduced at will with the following steps:

  1. Use clientgen to create webservice client jar file.
  2. Import certificate chain from remote HTTPS site into the JRE's cacerts file which WebLogic Server is using.
  3. Write a servlet to use the web service client jar to call the web service.

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