5 Replies Latest reply: Feb 29, 2012 1:30 AM by 920753 RSS

    javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received

    frediscool
      Hello Everybody,

      Good morning & Good evening.

      I am not very new to web. But I am facing a problem which I have never faced. I coudnt get any info through Google. So Just passing the ball to you. Please help my problem.

      I have the below setup.

      Linux 2.6.18
      Apache 2.2.17
      openssl 1.0.0
      Weblogic 10.1

      My application had been running fine without a single issue on http.
      I have recently made my web server ssl enabled (https).
      There is one functionality in my application which uploads a text file to a content folder and reads that file again immediately. So here while uploading it is successfull. But while reading it, I see the below error.

      #####################################################################
      Uploading the test file to the content server: Successful
      Requesting the test file from the content server:
      (43160) The file read from the content server isn't the same as the file written to the server. javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from web-dev-02.domain.com - 173.37.122.137 was not trusted causing SSL handshake failure.
      ######################################################################

      I couldnt understand why it is failing and gives handshake error when I dont install ssl on weblogic. I have ssl only on Apache.


      Note:

      1. Content server is nothing but my application connects to a url where it has to upload the text file. That url Points to my apache again. I have an alias created for uploading the data to content folder like below.

      Alias /content /apps/dev/content_server/

      2. I have no ssl on weblogic.
      3. Everything other than this is working fine on https.
      4. SSL certificate has been created for the same domain which it is being used for.


      Please help me!! :)

      Thanks all in Advance.
      Rajesh..