weblogic.net.http.HttpsURLConnection Does Not Honor -Dhttp.nonProxyHosts Java Option

(Doc ID 2318977.1)

Last updated on NOVEMBER 02, 2017

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.


When standalone weblogic client initiates ssl connection using following options:

-Dhttps.proxyHost=proxy.oracle.com -Dhttps.proxyPort=443 -Dhttp.nonProxyHosts=test.oracle.com

You will notice that any SSL connection made using weblogic.net.http.HttpsURLConnection will still try to use the HTTP Proxy Server when connecting to an HTTPS destination. let's take a look at below sample code:


You can see the proxy server ( proxy.oracle.com) is still being used when initiating ssl connection to test.oracle.com




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