Results 1 to 4 of 4

Thread: https

  1. #1
    jamesEFDS is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default https

    hello,

    I am writing an android app, which is a network client. How can I use a ssl/tls connection ?
    Do I only need to add a 's' to 'http' in the url parameter of my HttpPost object instance ?

    And how can I keep the session so that I don't have to redo all the initialization part of the ssl protocol between two http post messages ?

    Thanks.

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default

    First you need read any information about https. It's statements like that "'s' to 'http' in the url parameter" says that you don't understand about it.
    Skype: petrarsentev
    http://TrackStudio.com

  3. #3
    jamesEFDS is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default

    I do know what https is, I just don't know how to do it in java. Maybe my formulation wasn't quite perfect, or maybe you just didn't understand my question.
    But if we take the browser computer, for example, from the client point of view, adding a 's' is enough to trigger the ssl connexion. For example, https://www.google.com (although in that case there is a redirection, but that's specific to google, I'm sure you can find other examples; that's from the server point of view anyway, it's just a different port).

    If my proposed answer wasn't correct, please forget it, and just answer the question: I still would like to know how to perform a ssl connexion in java.
    Last edited by jamesEFDS; 07-13-2011 at 05:29 PM.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,792
    Rep Power
    25

Similar Threads

  1. HTTPS & Keytool too
    By jamesEdwards in forum Advanced Java
    Replies: 5
    Last Post: 01-31-2009, 10:25 PM
  2. Usage of HTTPS
    By Sayed in forum Advanced Java
    Replies: 8
    Last Post: 12-06-2008, 11:02 AM
  3. https client
    By karine in forum Advanced Java
    Replies: 6
    Last Post: 10-31-2008, 01:41 PM
  4. HTTPS using certificate
    By MCJP in forum Advanced Java
    Replies: 1
    Last Post: 09-25-2008, 02:48 PM
  5. JDK 1.3 with HTTPS
    By sriram in forum Advanced Java
    Replies: 2
    Last Post: 01-21-2008, 11:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •