Step 1: download the certificate to the local
Nginx certificate zip file.
After decompression, you will get the following files: Certificate file in PEM format. Certificate KEY file in KEY format
Step 2: install the certificate on the Nginx stand-alone server
Execute the following command to create a directory (named cert) for storing certi ...
Added by Rik Peters on Tue, 08 Mar 2022 01:11:29 +0200
Basic overview of HTTPS
Why use HTTPS，because HTTP Unsafe when we use http The website will be hijacked and tampered with if used https Protocol, then the data is encrypted in the transmission process, so hackers can not steal or tamper with the data message information, but also avoid information leakage during website transmissio ...
Added by friendlylad on Fri, 11 Feb 2022 19:35:50 +0200
What is the urllib library
urllib library is Python's built-in HTTP request library, which does not need additional download. It mainly includes the following four modules
urllib.request Request module
urllib.error Exception handling module
urllib.parse url Analysis module
urllib.robotparser robots.txt Analysis module
Added by dmayo2 on Thu, 10 Feb 2022 23:35:27 +0200
The parameter received by annotation @ RequestParam comes from the requestHeader, that is, the request header.
RequestParam can accept properties of simple types or object types.
@RequestParam has three configuration parameters:
Required indicates whether it is required. The default value is true and must be. defaultValue to s ...
Added by maca134 on Wed, 09 Feb 2022 04:54:20 +0200
In the website, the http request is stateless, that is, when user 1 connects to the server and logs in successfully, when refreshing the website and reconnecting, it still needs to log in again. Different users cannot be identified only through general information. The emergence of cookies is to solve this problem and realize the function of re ...
Added by hyperyoga on Mon, 31 Jan 2022 00:07:11 +0200
1, Configure ssl certificate to provide https access1. Install SSL moduleTo configure https in nginx, you must install SSL module, that is: http_ssl_module. Enter the unzipped directory of nginx: / home/software/nginx-1.16.1Add ssl modules (the original modules need to be retained)./configure --prefix=/usr/local/nginx --pid-path=/var/run/nginx/ ...
Added by onlinegs on Fri, 28 Jan 2022 08:49:18 +0200
https reverse proxy configuration
● the fixed port number of HTTPS is 443, which is different from port 80 of HTTP ● the SSL standard requires the introduction of security certificates, so in nginx In conf, you need to specify the certificate and its corresponding key Others are basically the same as http reverse proxy, but the configuration i ...
Added by elfeste on Thu, 27 Jan 2022 21:05:13 +0200
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 ...
Nginx reverse proxy service can receive requests on behalf and forward them to other servers set up.
For example, the Nginx server is 100.101.102.103 and the A service is 100.101.102.104. Through the Nginx configuration file, the Nginx server agent can receive the request of A service and then forward it to the A service.
Through SSL certificat ...
Implement a simple CA system, which includes the following functions:
Certificate generation: after the user provides a Certificate Signing Request (CSR) and public key, the system will automatically generate a certificate for the user and issue it through email. Two types of certificates for SSL and code signing are supported.Certificate revo ...
Added by rrhody on Wed, 26 Jan 2022 13:37:37 +0200