Java carries certificates to access Https, Keytool+Tomcat implements SSL two-way authentication

Keytool+Tomcat for two-way SSL authentication 1. Introduction to SSL Reference Blog: Https One-way Authentication and Two-way Authentication SSL(Secure Sockets Layer Secure Sockets Layer) is a protocol (specification) that ensures the security of client-side and server-side communications so that information transmitted during communication i ...

Added by glowball on Wed, 26 Jan 2022 09:50:22 +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 series - details of HttpClient usage

1. Introduction to httpclient HTTP protocol is one of the most widely used and important protocols on the Internet. More and more Java applications need to access network resources directly through HTTP protocol. Although the basic function of accessing HTTP protocol has been provided in the java net package of JDK, for most applications, the ...

Added by gtal3x on Sun, 09 Jan 2022 10:54:27 +0200

How do I interrupt an outgoing request?

Recently, I met the problem of how to interrupt the web request that has been sent. I'll discuss it with you here. Interrupt axios request axions interrupt requests can be made in two ways: Mode 1 Use canceltoken The cause factory method creates a cancel token with the following code: import axios from 'axios' const CancelToken = axios.Can ...

Added by nrerup on Wed, 05 Jan 2022 15:24:02 +0200

Call libcurl library to obtain face recognition results

1, Compilation and installation of openssl Library Create a new folder under the working directory. Download the openssl library compressed package from the official website and extract it to the folder 1|wget https://www.openssl.org/source/openssl-1.1.1.tar.gz 2|tar -vxf openssl-1.1.1.tar.gz Enter the extracted file directory, namely o ...

Added by ridiculous on Fri, 31 Dec 2021 05:01:17 +0200

nginx configuring https access

01,http&https HTTP (HyperText Transfer Protocol) is an application layer protocol for distributed, collaborative and hypermedia information systems. In short, it is a method of publishing and receiving HTML pages, which is used to transfer information between Web browsers and Web servers. HTTPS (Hypertext Transfer Protocol Secure) is a tr ...

Added by tomm098 on Mon, 27 Dec 2021 21:03:22 +0200

Alibaba cloud Nginx configuration

Configuration of nginx & HTTPS 01. Understanding of Https HTTP (HyperText Transfer Protocol) is an application layer protocol for distributed, collaborative and hypermedia information systems. In short, it is a method of publishing and receiving HTML pages, which is used to transfer information between Web browsers and Web servers. H ...

Added by manchuwok on Sun, 26 Dec 2021 03:27:34 +0200

[note] how do you know what is downloaded from build script?

How does the product track vulnerabilities? When managing the supply chain, we will encounter many problems. We know that a factory's assembly line machine will install various sensors to monitor the production environment. What about the software assembly line? For example, did build script download unsafe lib? For example, has our download so ...

Added by jakem on Wed, 10 Nov 2021 02:16:12 +0200

Encryption security, time synchronization and automatic deployment

1, Create a private CA and apply for a certificate. 1.1 create CA related directories and files [root@Centos8 ~]# mkdir /etc/pki/CA/{certs,crl,newcerts,private} [root@Centos8 ~]# tree /etc/pki/CA/ /etc/pki/CA/ ├── certs ├── crl ├── newcerts └── private The index.txt and serial files need to be used when issuing certificates. If they do not ...

Added by flight553 on Tue, 02 Nov 2021 22:12:04 +0200

Teach you how to debug Linux kernel with VS Code+Qemu+GDB

background All along, the understanding of Linux system is at the application level. After reading advanced programming in UNIX environment, I still lack a deep understanding of the implementation methods of some modules in the system, so I want to study the Linux kernel mechanism. Simply reading the source code is not as good as debugging th ...

Added by pixelfish on Thu, 28 Oct 2021 08:54:46 +0300