Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting "Precondition failed" when connecting to WebLogic over HTTPS port in Apache

Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We're using Apache 2.0 with WebLogic 9.2.2 on Linux. We are trying to connect to WebLogic over an SSL port from Apache. Here is our entry in the Apache httpd.conf file:

<Location /myapp/>
SetHandler weblogic-handler
WebLogicCluster servername1:7022,servername2:7022
#SSLProxyEngine on
SecureProxy ON
RequireSSLHostMatch false
TrustedCAFile /etc/httpd/conf/certs/ca/ca_nso.pem
Debug ALL
DebugConfigInfo ON
ConnectTimeoutSecs 30
WLLogFile "/opt/comcast/sites/"

However, every request generates a 412 Precondition failed error. However, when we connect to WebLogic with "SecureProxy OFF" and the proper non-SSL WL port, we can connect fine. Any ideas what is causing this 412 error?

Thanks, - Dave
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic