<Invalid/unknown SSL header was received from peer nakina-132.nakinasys.loc - Weblogic
This is a discussion on <Invalid/unknown SSL header was received from peer nakina-132.nakinasys.loc - Weblogic ; Hello,
Using 8.1 I am running in a clustered environment. I have 1 question and 1 issue.
I have an Admin server, a managed server, and a load balancer (as a managed server also). I am trying to enable SSL ...
-
<Invalid/unknown SSL header was received from peer nakina-132.nakinasys.loc
Hello,
Using 8.1 I am running in a clustered environment. I have 1 question and 1 issue.
I have an Admin server, a managed server, and a load balancer (as a managed server also). I am trying to enable SSL on the load balancer. My first question is regarding the startup. When I start my managed servers, I noticed them loading the keystores numerous times:
If I enable SSL debug logs I see this exception:
<000000>
<000000>
weblogic.security.service.NotYetInitializedExcepti on: [Security:090392]SecurityServiceManager not yet initialized.
at weblogic.security.service.SecurityServiceManagerDe legateImpl.getSecurityService(SecurityServiceManag erDelegateImpl.java:156)
at weblogic.security.service.SecurityServiceManager.g etSecurityService(SecurityServiceManager.java:175)
at weblogic.security.utils.SSLSetup.getTrustedCAs(SSL Setup.java:705)
at weblogic.security.utils.SSLSetup.getSSLContext(SSL Setup.java:548)
at weblogic.security.SSL.SSLSocketFactory.(SSLSocketFactory.java:71)
at weblogic.security.SSL.SSLSocketFactory.getJSSE(SSL SocketFactory.java:101)
at weblogic.net.http.HttpClient.New(HttpClient.java:2 09)
at weblogic.net.http.HttpsURLConnection.getHttpClient (HttpsURLConnection.java:246)
at weblogic.net.http.HttpsURLConnection.connect(Https URLConnection.java:217)
at weblogic.management.Admin.checkAdminServerIsRunnin g(Admin.java:1545)
at weblogic.management.Admin.isAdminServerRunning(Adm in.java:1617)
at weblogic.management.Admin.createInstance(Admin.jav a:1399)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java :770)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670 )
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
at weblogic.Server.main(Server.java:32)
It does not seem to stop the server from running and eventually things quiet down. Any reason/need/way to fix this?
*******************************
Second issue. I am using a servlet through the load balancer to forward to my managed app server. Below is a snippet from my web.xml file:
HttpClusterServlet
weblogic.servlet.proxy.HttpClusterServlet
WebLogicCluster
nakina-132:9002
SecureProxy
ON
As I understand, this should enable the SSL with the SecureProxy parameter. However I get the error on the managed server running port 9002 as it's SSL port:
If I remove the SecureProxy parameter, I get much more complaining about Plaintext:
So I believe it is trying to use SSL with the SecureProxy parameter set (at least something changes). But why am I still getting the Invalid/unknown SSL header error. Enabling the SSL debug logs does not really provide much more information, that I can see.
All servers are being run through the same domain. SSL is enabled on all servers, and listen ports disabled. My webtier has the transport-guarantee set to CONFIDENTIAL.
Thanks in advance,
Denis.
-
Re: <Invalid/unknown SSL header was received from peer nakina-132.nakinasys.loc
The multiple loading keystore messages is just a performance issue. Not initialized exceptions in the debug log are normal because the managed server has not received its configuration from the admin server yet.
The second issue might be caused by an unsupported version number in the ssl header. I'd file a support case for this.
Pavel.