Using openSSL to construct a nodejs server supporting https

First download openSSL through the following link https://slproweb.com/products/Win32OpenSSL.html After downloading, execute openssl to enter the interactive interface: Use the command to generate privatekey.pem 1024, which means 1024 bit length. openssl genrsa -out privatekey.pem 1024 Open the generated privatekey.pem to see what it looks ...

Posted on Thu, 14 Nov 2019 12:12:25 -0500 by RCB

cnetos7 source code installation of openssh (accelerated ANSI ble)

Recently, playing ansible, I found that the execution speed of ansible is too slow. Looking at the Internet, I said that openssh can speed up the execution speed of ansible, so I started the pit filling journey of openssh source installation! mkdir -p /root/opensshcd /root/opensshwget http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openss ...

Posted on Mon, 04 Nov 2019 13:18:32 -0500 by cordex

Solution to the problem that the mcrypt extension of php has been abandoned

php's mcrypt UU function cluster started deprecated in version 7.1.0 and was completely abandoned in version 7.2.0. If the current project has mcrypt_encryptfunction, you want to update php to the latest version. It is officially recommended to replace mcrypt and mcrypt with OpenSSL  encrypt / OpenSSL  decrypt. Mcrypt? Rijndael? 256 is not ...

Posted on Fri, 01 Nov 2019 16:40:19 -0400 by drcdeath

[CentOS 7LNMP architecture 32], ssl principle and generating ssl key pair#

shallow A kind of ove ssl principle The client's browser sends an https request to the server The server should have a set of digital certificates, generate the public key and private key, and pass the public key to the client The browser of the client checks whether the public key is legal. If it is not, https warning will be displayed. If ...

Posted on Thu, 31 Oct 2019 22:58:01 -0400 by mattl

Fundebug website upgrade HTTP/2, really fast!

As a new generation of HTTP protocol, HTTP/2 can improve website performance and optimize user experience. Fundebug It's also time to upgrade HTTP/2, although it's a little late. Upgrading HTTP/2 is a very simple thing. It's OK to change the Nginx configuration of one line. However, engineers only know ...

Posted on Sun, 27 Oct 2019 23:51:17 -0400 by suepahfly

PostgreSql source code installation

I. source code installation 1. Redhat7 modify the host name:   [root@localhost ~]# hostnamectl set-hostname ygg Inspection:   [root@localhost ~]# hostnamectl    Static hostname: ygg          Icon name: computer-vm            Chassis: vm         Machine ID: 19e8c6b6164b453b8816e1a002badeec            Boot ID: b9793f1a2e8c4dbcbf99f9f011563fe6   ...

Posted on Sun, 27 Oct 2019 00:14:22 -0400 by velanzia

Automatic deployment of python environment (including openssl) in offline environment

When a project is encountered, you need to install the python project in the Intranet environment, so you write a script to automatically deploy the python environment and the python project in your spare time. Because the project is classified, only the shell script to automatically deploy the python environment is provided here, including the ...

Posted on Fri, 25 Oct 2019 16:06:43 -0400 by Karpathos

Protocol basis: use Telnet to learn IMAP protocol

IMAP introduction The full name of IMAP is Internet Mail Access Protocol, i.e. Interactive Mail Access Protocol. It is one of the mail access standard protocols similar to POP3. The difference is that after IMAP is turned on, the mail you receive from the e-mail client remains on the server, and the operations on the client will be fed back to ...

Posted on Fri, 25 Oct 2019 04:41:17 -0400 by alexvgtb

On Webrtc, do you understand

With the continuous progress of low latency streaming media technology, online education industry continues to heat up. This paper expounds the breakthrough of low delay live broadcast technology based on WebRTC architecture and its practice and thinking in the education industry.GitHub: Put github link first(more full project downloads. To b ...

Posted on Thu, 24 Oct 2019 21:24:33 -0400 by wdallman

http simple function implemented by httpd

httpd realizes user access control:(1) define security domainControl based on a single user: <Directory "/var/www/html"> Options None AllowOverride None AuthType Basic AuthName "String" AuthUserFile "/etc/httpd/conf/.httpdpasswd" AuthGroupFile "/etc/httpd/conf/.grp" <RequireAll> Require ip 172.20 Requ ...

Posted on Sun, 20 Oct 2019 17:00:37 -0400 by jinwu