Precondition Failed When Accessing Weblogic Server Console Through Proxy (Doc ID 1089704.1)

Last updated on FEBRUARY 11, 2017

Applies to:

Oracle Weblogic Server - Version 8.1 and later
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2012***

Symptoms

When we enable SSL between the proxy and WebLogic Server through Trusted CA certs, it fails to load the Trusted CA file.

In this case, customer is using their own trusted CA certs at WebLogic Server side and they need to enable SSL between Apache (Version 2.2.14) Web Server and WLS.

When we try to access the WLS console through the proxy, we get the following message in the browser:

412 Precondition Failed
The precondition on the request for the URL/console evaluated to false.

In the proxy log, we can see the following message:

================New Request: [GET /console HTTP/1.1] =================
Thu Mar 25 15:39:32 2010 <256812695117722> INFO: SSL is configured
Thu Mar 25 15:39:32 2010 <256812695117722> SSL Main Context not set. Calling InitSSL
Thu Mar 25 15:39:32 2010 <256812695117541> INFO: Initializing SSL library
Thu Mar 25 15:39:32 2010 <256812695117541> ERROR: Failed to load trusted CA file(E:\New Cert\oracle64\CAToTrust.cer). err = 3007 loaded = 0
Thu Mar 25 15:39:32 2010 <256812695117722> ERROR: SSL initialization failed

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