• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android SSL support?

 
ayyappa karamsetty
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're literally asking for the "htts" protocol, no wonder you're having problems. There isn't one. It's "https".
 
ayyappa karamsetty
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18367
56
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic