[Memo] Install SSL certificate on Nginx server

You can install an SSL certificate on the Nginx or Tengine server to securely access the web server through HTTPS. This article describes how to install an SSL certificate for Nginx or Tengine server. Important This article takes CentOS 8.0 64-bit operating system and Nginx 1.14.2 as examples. Deployment operations may be different for different […]

Solution to “Python3.12pip network installation library file error, ssl module is unavailable”

Solution to “Python3.12pip network installation library file error, ssl module is unavailable” 1. Install the new version of openssl3.1.4 2. Install Python3.12.0 The Python version needs to match the openssl version. In versions after Python 3.7, the dependent openssl must be a version after 1.1.1 or 1.0.2, and the openssl1.0.2k installed in CentOS7 cannot meet […]

[Original] View details of SSL certificate file

Certificate file Directory of C:\Users\Zmrbak\ 2023/11/09 14:59 <DIR> . 2023/11/09 14:59 <DIR> .. 2023/11/09 14:01 1,675 www.talker-ai.com.key 2023/11/09 14:01 3,830 www.talker-ai.com.pem Tools for viewing certificates https://slproweb.com/products/Win32OpenSSL.html Download and install. View certificate openssl x509 -in www.talker-ai.com.pem -nout -text Default tools are not added to path. Follow the instructions below and use absolute paths to execute “C:\Program […]

Touge-Using RAS encryption and decryption in openssl

Level 1: RSA encryption and decryption Use the OpenSSL command line to implement RSA encryption and decryption of text files. Create a clear text file hello.txt with the content GuetPython Use genrsa to generate a 1024-bit plaintext rsa private key privacy.pem, that is, an unencrypted private key. Use rsa to output the public key file […]

20.5 OpenSSL socket RSA encrypted transmission

The RSA algorithm can also be used for encrypted transmission, but although this type of encryption algorithm is very secure, it is usually not used for large amounts of data transmission. This is because the encryption and decryption process of the RSA algorithm involves a large number of mathematical operations. Especially modular exponentiation (that is, […]

The latest SSL certificate application and installation configuration 2024 version

The latest SSL certificate application and installation configuration 2024 version Table of Contents The latest SSL certificate application and installation configuration 2024 version 1. Apply for Tencent Cloud SSL certificate 2. Verification of the domain name to which the SSL certificate belongs 2.1. Ensure that your web service can normally access the “domain name” and […]

OpenSSL implements SSL network communication

Certainly! Here are the C language programs for a simple OpenSSL client and server that can establish a secure communication channel between them: l in linux environment OpenSSL Server Program (server.c): #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <arpa/inet.h> #include <sys/socket.h> #include <openssl/ssl.h> #include <openssl/err.h> #define CERT_FILE “server.pem” #define KEY_FILE “server.key” void init_openssl() […]

Use the OpenSSL tool to write Bash scripts to encrypt and decrypt password plaintext

Use OpenSSL tools to encrypt and decrypt password plaintext Written By: Xinyao Tian Introduction This document describes a simple way to encrypt and decrypt passwords in a Bash script using the OpenSSL tool. BASE64 encryption and decryption script Use Base64 algorithm to encrypt password The script name is encryptPasswd.sh, and the script content is as […]

20.2 OpenSSL asymmetric RSA encryption and decryption algorithm

The RSA algorithm is an asymmetric encryption algorithm jointly invented by three mathematicians Rivest, Shamir and Adleman, named after them. Named with initials. The security of the RSA algorithm is based on the large number decomposition problem, that is, for a very large composite number, it is very difficult to decompose it into the product […]