File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Android SSL support? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Android SSL support?" Watch "Android SSL support?" New topic
Author

Android SSL support?

ayyappa karamsetty
Greenhorn

Joined: Feb 26, 2011
Posts: 4
Hi All,

I configured my tomcat to Support SSL(https). I am able to connect to server using http and do download and upload. but if i change it to htts://servername:8443/webappname in mobile as server url, it shows exception like please tell me what went wrong.
[code=java]

SEVERE: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake [code]

please get me out from here?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

If you're literally asking for the "htts" protocol, no wonder you're having problems. There isn't one. It's "https".


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
ayyappa karamsetty
Greenhorn

Joined: Feb 26, 2011
Posts: 4
Sorry, it is https only. still i am getting the same porblem. do i need to do separate coding to support https connection. I am able to connect same thing using http with 8090 port, but https is on 8551 port.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

If https is being served on port 8551, then the correct URL would be "https://servername:8551/webappname".

And, of course, make sure that there aren't any firewalls blocking it!
 
 
subject: Android SSL support?
 
Threads others viewed
Methods to secure web application
SSL support to a web application deployed in BEA Weblogic 10
javax.mail.SendFailedException:Sending Failed; when i send other domain
Implimentation of SSL
how can we use ssl protocal to connect with proxy server
developer file tools