Results 1 to 4 of 4

Thread: Java client error "Unrecognized SSL message, plaintext connection"

  1. #1
    Join Date
    Jan 2009
    Posts
    65

    Java client error "Unrecognized SSL message, plaintext connection"

    hello
    i get the error of "Unrecognized SSL message, plaintext connection" while I was looking webservice to https server through a proxy server using a simple webservice client in java (Axis). The client code does have Https.proxy properties setting.

    Note that I am able to use web browser client to send the https requests via the proxy server. In the browser setting, the https proxy server port is sepcified , and same setting to Https.proxyPort on the client code .

    please can someone help me find solution ?


    Thank you in advance !!!

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Java client error "Unrecognized SSL message, plaintext connection"

    Are you sure that port that you use to connect out on 443? That exception is usually thrown when an attempt is made to connect SSLSocket to a regular HTTP port.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Java client error "Unrecognized SSL message, plaintext connection"

    Java fix the socket extension (JSSE) is a set of Java packages that enable secure Internet communications. It implements a version of Java protocols SSL (secure sockets layer) and TLS (Transport Layer Security) and includes functionality for data encryption, server authentication, message integrity, and optional client authentication. Using JSSE, developers can provide for the secure passage of data between a client and a server during any application protocol (such as HTTP, telnet, the NNTP and FTP) over TCP / IP .

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: Java client error "Unrecognized SSL message, plaintext connection"

    Implementation of pure Java U.S. export Fix support for v3 sockets layer (SSL) 1.0 Support of the transport layer security (TLS) . Basic Utilities for the key and certificate management, including securely encrypted storage of private keys and support from the Certificate Authority (CA) classes SSLSocket and SSLServerSocket, which can be instantiated to create set of channels , Encrypt the negotiation on, who runs the "de SSL handshaking "to initiate or verify secure communications , Authentication client and server, as part of the normal handshake SSL , Support HTTPS: the ability to access data such as HTML pages using HTTPS session management server to control the hiding of the sessions. Algorithms of RSA cryptography - implementation of JSSE includes the code allowed for the protection of data from the RSA. Cryptographic Suites, including:

    eg
    try {
    int port = 225;
    String hostname = "hotdir.biz";
    SocketFactory socketFactory = SSLSocketFactory.getDefault();
    Socket socket = socketFactory.createSocket(hostname, port);

    InputStream in = socket.getInputStream();
    OutputStream out = socket.getOutputStream();
    in.close();
    out.close();
    } catch(IOException e) {
    }
    Creating an SSL Server Socket(Java SSL tutorial)

    try {
    int port = 225;
    ServerSocketFactory ssocketFactory = SSLServerSocketFactory.getDefault();
    ServerSocket ssocket = ssocketFactory.createServerSocket(port);

    Socket socket = ssocket.accept();
    InputStream in = socket.getInputStream();
    OutputStream out = socket.getOutputStream();

    in.close();
    out.close();
    } catch(IOException e) {
    }

Similar Threads

  1. Getting error message "Hamachi HAs lost the connection to the engine"
    By Pette D Champ in forum Networking & Security
    Replies: 6
    Last Post: 15-03-2012, 03:36 PM
  2. Replies: 7
    Last Post: 29-01-2012, 11:11 AM
  3. Replies: 4
    Last Post: 04-09-2011, 12:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,617,673.17894 seconds with 17 queries