Error: "javax.net.ssl.SSLException: Received fatal alert: bad_certificate" When Using WebLogic Scripting (weblogic.wlst) To Connect To A Running Node Manager or Start A Node Manager

(Doc ID 1594528.1)

Last updated on SEPTEMBER 13, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 8.2 1.0 to 8.2 1.0 [Release 8.2]
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
After completing steps outlined under following knowledge base document -- "Getting Started with WebLogic Server: How to Create and Configure Self Signed Certificates for WebLogic Server Environments (Doc ID 1341192.1)" -- to configure the WebLogic tier to startup a) Node Manager and b) WebLogic domain on SSL ports using self signed certificates, WebLogic scripting (that is created to automatically connect to a running node manager or startup the node manager if not running, as well as startup a weblogic domain) fails to start the node manager, or connect to a running node manager and results in the following error:

ERROR
------------
javax.net.ssl.SSLException: Received fatal alert: bad_certificate

OR

WLSTException: Error occurred while performing nmConnect : Cannot connect to Node Manager. : FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.

 


EXPECTED BEHAVIOR
-----------------------
After configuring the node manager and a weblogic domain for SSL using -- "Getting Started with WebLogic Server: How to Create and Configure Self Signed Certificates for WebLogic Server Environments (Doc ID 1341192.1)" -- for the scripting to connect properly to a running node manager or startup an instance of node manager (if not running) with no issue.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Configure a WebLogic scripting environment using the following instruction: http://docs.oracle.com/cd/E29618_01/English/Technical_Documentation/Controlling_WebLogic_Domain/controlling_eppm_weblogic_domain_using_node_manager_weblogic_scripting.pdf
2. Reconfigure a WebLogic environment to use SSL Self Signed Certs following: "Getting Started with WebLogic Server: How to Create and Configure Self Signed Certificates for WebLogic Server Environments (Doc ID 1341192.1)"
3. Attempt to start or connect to node manager using WebLogic scripting (weblogic.wlst), and note the actual behavior observed.

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