ubutun install openssl

One, a brief introduction to OpenSSL
OpenSSL is a powerful secure socket layer cryptographic library, including the main cryptographic algorithms, commonly used key and certificate packaging management functions and SSL protocol, and provides a wealth of applications for testing or other purposes.

SSL is the abbreviation of Secure Sockets Layer (secure sockets layer protocol), which can provide confidential transmission on the Internet. SSL can prevent the communication between the user/server application from being eavesdropped by attackers, and always authenticate the server, and optionally authenticate the user. The SSL protocol requires the establishment of a reliable transport layer protocol (TCP).

Second, install the corresponding software package
$ sudo apt-get install openssl      ##安装openssl

The instruction will install openssl related library files libssl3.so, libcrypt.so... and the executable file openssl. You can view openssl support
Standard commands
Message Digest commands
Cipher commands Cipher commands

$ sudo apt-get install libssl-dev    ##安装openssl开发库
The instructions will install OpenSSL development related libssl.so, libcrypto.so, and the header files needed for development
/usr/include/openssl header file


Guess you like

Origin blog.csdn.net/weixin_40017062/article/details/80474179