springboot configures SSL and HTTP to HTTPS

1 configure SSL 1.1 introduction to SSL SSL configuration is a scenario we often see in practical applications SSL(Secure Sockets Layer) is a security protocol that provides security and data integrity for forgotten communication. SSL encrypts the network connection in the network transmission layer. SSL protocol is located between TCP/IP ...

Added by BenMo on Thu, 27 Jan 2022 20:43:53 +0200

Python builds TCP communication / TCP forwarding

Python builds TCP communication TCP/IP protocol TCP/IP (Transmission Control Protocol/Internet Protocol) refers to a protocol cluster that can realize information transmission between multiple different networks. TCP/IP protocol refers not only to TCP and IP Two agreements, but one by FTP,SMTP,TCP,UDP The protocol cluster composed of, IP and ...

Added by EPCtech on Wed, 26 Jan 2022 22:22:54 +0200

Bidirectional authentication of Nginx

Bidirectional authentication of Nginx 1, Foreword Reference link OPENSSL encryption DSA,RSA introduction By default, the client trusts the authoritative CA organization, and the operating system has built-in CA certificate. To put it bluntly, the operating system has the public key of CA certificate by default. For example, we can acc ...

Added by stephaneey on Tue, 25 Jan 2022 21:46:02 +0200

HTTP learning notes

HTTP learning notes HTTP Fundamentals Common request methods of HTTP protocol methodDescriptionGETRequest the specified page information and return the response contentPOSTSubmit data to the specified resources for processing requests (such as submitting forms or uploading files), and the data is included in the request body. POST requests ...

Added by Eggzorcist on Mon, 24 Jan 2022 22:46:24 +0200

Spring cloud lecture 07: Http templating client Feign

Feign is a declarative and templated HTTP client developed by Netflix. Feign can help us call microservices more quickly and gracefully. 1, Item code The service consumer content center sends a request to the service provider user center to obtain the user's wechat nickname. We realize this requirement through Feign. 1.1. In POM Adding depen ...

Added by ramesh_iridium on Wed, 19 Jan 2022 18:30:07 +0200

How the network requests: Chapter 1

The user inputs a URL to the browser and returns the life cycle of a network request.The book is divided into six parts:The application layer client generates HTTP and delegates it to the protocol stack of the operating systemThe protocol stack (TCP/IP module) calls the network card driver to generate an electrical signalHow does the network ca ...

Added by barbgd on Wed, 19 Jan 2022 16:54:57 +0200

curl usage guide

This paper introduces its main command line parameters as a daily reference for easy reference. -A -The A parameter specifies the user agent header of the client, that is, user agent. The default user agent string for curl is curl/[version]. $ curl -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76 ...

Added by tenaki on Wed, 19 Jan 2022 08:55:26 +0200

What is a crawler? What is the principle of Python crawler

preface In short, the Internet is a large network composed of sites and network devices. We visit sites through the browser, and the site returns HTML, JS and CSS codes to the browser. These codes are parsed and rendered by the browser to present colorful web pages in front of us; 1, What is a reptile? If we compare the Internet to a large spi ...

Added by raku on Tue, 18 Jan 2022 09:18:43 +0200

05 front end interview essential http

subject http What are the common status codes? http common header What are there? What is? Restful API Describe it http Caching mechanism for (important) Answer from the perspective of forced caching and negotiated caching. Flowchart remember. http status code Status code classification 1xx The server received the request 2xx Reques ...

Added by Azeryk on Mon, 17 Jan 2022 22:55:01 +0200

Understand WebSocket thoroughly

prefaceBefore the emergence of WebSocket, the front-end and back-end interaction usually used Ajax for HTTP API communication. However, if there are projects with real-time requirements, such as PVP battle or push message in chat room or game, the front-end needs to poll the back-end regularly. However, too fast polling may lead to too much pre ...

Added by MrJW on Sun, 16 Jan 2022 22:34:58 +0200