Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 17-03-2009
Member
 
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 !!!
Reply With Quote
  #2  
Old 17-03-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
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.
Reply With Quote
  #3  
Old 17-03-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
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 .
Reply With Quote
  #4  
Old 17-03-2009
Member
 
Join Date: May 2008
Posts: 2,383
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
Quote:
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) {
}
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Java client error "Unrecognized SSL message, plaintext connection""
Thread Thread Starter Forum Replies Last Post
Getting error message "Hamachi HAs lost the connection to the engine" Pette D Champ Networking & Security 6 15-03-2012 03:36 PM
Getting error message "The TCP/IP connection was unexpectedly terminated by the server (NNTP)" Nearer Networking & Security 7 29-01-2012 11:11 AM
Unable to connect Windows Phone 7 to Zune getting error message "Connection Error " Prahlad! Portable Devices 4 04-09-2011 12:44 PM


All times are GMT +5.5. The time now is 03:23 PM.