The difference between http and https, how to catch https request?

1. To put it simply, HTTP is used for html and other hypermedia transmissions, but HTTP is not secure. For security, data is transmitted using the SSL and HTTP certificates, that is, HTTPS = SSL + HTTP
2. The standard HTTP port is 80 , And the standard port for HTTPS is 443 .
Practice it: you can see if the 443 port configured in the test environment nginx is enabled. If it is commented out, https is not supported.

How to catch https request? The tool I introduce is Fiddler
1. Grab the HTTPS protocol package on the PC browser (install Fiddler on the computer and set it)
2. Grab the HTTPS protocol package on the mobile phone (install Fiddler on the computer and set the + mobile phone installation proxy certificate, even the proxy for pc )

1. The specific operation of grabbing the pc terminal is shown in the figure:
Insert picture description here
Click 5, and the 6 box comes out:
Insert picture description here
Insert picture description here
Insert picture description here
verify it:
Insert picture description here
2. The specific operation of grabbing the mobile terminal is shown in the figure:

First complete the operation of the above 1 , the next step is to install the agent certificate on the mobile phone and connect the mobile phone to the computer agent.
Insert picture description hereAfter the check box, a warning box will pop up on the page, meaning that we need to restart the Fiddler tool to make the settings just take effect. Then click the "Confirm" button and restart Fiddler.
Insert picture description here

  • Click wifi setting on the mobile phone, manage the network settings, choose manual proxy server, enter your computer IPv4 address such as 1.1.1.1, and port 8888 of fiddler
  • On the mobile browser web address: 1.1.1.1:8888, install the certificate
    Insert picture description here
    and operate on the mobile phone. If you are logging on the fiddler, it means that the mobile phone is connected to the agent of the pc.
    Check it out:
    Insert picture description here
Published 22 original articles · praised 5 · visits 4312

Guess you like

Origin blog.csdn.net/weixin_42231208/article/details/98080655