WebLogic Server: java.net.ConnectException When Connecting to WLST Using T3S Protocol

(Doc ID 1280374.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.2 and later
Information in this document applies to any platform.
***Checked for relevance on Dec 5, 2016***

Symptoms

A customer reported that he saw an error in the connect() method when trying to get wlst.cmd to work with a t3s SSL connection. Steps to reproduce the issue:

  1. Enable SSL Listen Port 7002 on the WebLogic Admin Server.
  2. Under Keystores, use "Custom Identity and Java Standard Trust" and specify a Custom Keystore containing a single PrivateKeyEntry (for this example using the alias cooldragon).
  3. Specify the key alias cooldragon in the SSL tab and apply all changes.
  4. Export the cooldragon key and add it to the trust in <JAVA_HOME>\jre\lib\security\cacerts on both client and server machines.
  5. Use wlst.cmd on a simple script to test connect() using the t3://myserver:7001 connection.
  6. Use a browser to make sure you can connect to https://myserver:7002/console (NOTE that it's still necessary to ignore a certificate error to connect here).
  7. Try to use wlst.cmd on a simple script to test connect() using the t3s://myserver:7002 connection.

The error appears like this:

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