Before we look in the difference between the two protocols: HTTP and HTTPS, lets look into a small brief about them.
HyperText Transfer Protocol or HTTP is an application protocol for distributed, collaborative, hypermedia information systems that allow users of the World Wide Web to exchange information and data communication.
When you type a web address in computer’s web browser, your browser acts as a client, and the computer having the requested information acts as a server. When client requests for any information from the server, it uses HTTP protocol to do so.
HTTPS or Hypertext Transfer Protocol Secure is simply layering the Hypertext Transfer Protocol (HTTP) on top of the SSL/TLS protocol, that adds the security capabilities of SSL/TLS to standard HTTP communications. It is combination of Hypertext Transfer Protocol (HTTPS) and SSL/TLS protocol. It is more secure way of sending request to server from a client it is encrypted. This kind of communication is used for accessing those websites where security is required like Banking websites, payment gateway, emails, etc.
Some major differences between HTTP and HTTPS:
|URL begins with “http://”||URL begins with “https://”|
|Port 80 is used for communication||It uses port 443 for communication|
|This type of protocol is unsecured||This protocol is secured as it uses a layer of SSL/TLS protocol|
|Operates at Application Layer||Operates at Transport Layer|
|No encryptions are used||Encryption is used to secure data|
|No certificates is required||Certificates required for https protocol|