What are protocol numbers for HTTP and HTTPS?

Secure Socket Layer SSL is called the abbreviations, Chinese condom after Layer protocols Layer. Use this agreement, you of all the submitted data will first encrypted netease mail, then submit to, which can effectively prevent hackers steal your username, password and communication content, guarantee the safety of your personal content. SSL (Secure Socket Layer,)
For the development, to safeguard Netscape in the security of data transmission, on the Internet, using data Encryption (Encryption) technology, which can ensure data on the network
The transmission process on won't be intercepted and eavesdropping. At present the specification of generic for 40 bit of safety standards, the United States launched 128 bit myriads of higher security
Standard, but limit exit. As long as 3.0 version above of I.E. or Netscape browser can support SSL.
The current version for 3.0. It has been widely used in between Web browser and server the identity authentication and encryption data transmission.
SSL protocol is located in the TCP/IP protocol and various application layer protocol for data communications between provide security support. SSL Protocol can be divided into two layers: SSL Record Protocol (SSL Protocol) : it establish Record in reliable transfer Protocol (such as TCP) above, for high-rise protocols that provide the data package, compression, encryption basic function such as support. SSL Protocol Handshake Handshake agreement (SSL) : it is based in SSL record above used in actual agreement before the start of the data transmission, telecommunications identity authentication, the parties hereto negotiate encryption algorithm, exchange encryption keys, etc.
SSL protocols that provide service mainly include:
1) the authentication user and server to ensure data sent to the correct client and server;
2) encrypted data to prevent data midway is stolen;
3) maintain the integrity of the data to ensure data in a transmission process does not be changed.
SSL protocol workflow:
Server authentication stage: 1) the client to the server sends a start information "Hello" to begin a new session connection; 2) server according to customer's information to determine whether to need to generate new master key, if need be, in response to customer "server will contain information Hello" the information needed to generate main key; 3) the server respond customer according to receive information, produce a primary key, and after public key encryption of servers to the server. 4) server resume the main key, and back to the customer a with the main authentication information, this key authentication server let customers.
User authentication stage: before that, the server has passed the authentication, this one phase customers for customers mainly completes authentication. After the authentication server to send a question to the customer, the customer return (digital) signed questions and their public keys to the server, which provide certification.
From the service provided by SSL protocol and its workflow can see, SSL protocol operation is based on business to consumer information confidential promises, it goes against consumer to businesses. In e-commerce, because run primary stage of electronic commerce enterprise are mostly credibility higher big company, so this problem is still not fully exposed. But with the development of e-commerce, the small and medium-sized companies are also involved in electronic payment process, so that the single problem is more and more outstanding authentication. Although in SSL3.0 through digital signatures and digital certificate can realize the browser and the Web server both identity authentication, but SSL protocol still has some problems, for example, can only provide transactions between customers and server authentication, involving both sides of the many electronic transactions, SSL protocol and the safety of the parties can't coordinate between the transmission and trust relationship. In this case, Visa and MasterCard two big credit card male organization established SET agreement for on the net the credit card payment provides global standards.