Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

difference between Http and Https

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

let suppose i am navigating from a site having a Http url to site having Https url.
So please tell me what are the process happening in between the navigation.
(I only know is that https is secure connection).
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTTPS = HTTP + SSL.

The only difference between the two is SSL based communication.
The rest of this post will provide more detail on the actions that will be executed by the protocols.

HTTP includes the following actions :
* The browser opens a TCP connection.
* The browser sends a HTTP request to the server
* The server sends a HTTP response to the browser.
* The TCP connection is closed.

SSL will include the following actions :
* Authenticate the server to the client.
* Allow the client and server to select the cryptographic algorithms, or ciphers, that they both support.
* Optionally authenticate the client to the server.
* Use public-key encryption techniques to generate shared secrets.
* Establish an encrypted SSL connection.

Once the SSL connection is established the usual transfer of HTTP requests will continue.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic