Open source cryptography tool library: openssl is installed in the docker container environment Linux (ubuntu18.04)

OpenSSL (Open Secure Socket Layer) is an open source cryptography tool library that provides a series of functions related to encryption, decryption, authentication and communication security. OpenSSL was originally designed to support secure network communications, but its capabilities have gradually expanded to many different areas, including digital certificates, key management, implementation of security protocols, and more.

Following are some of the main functions and features of OpenSSL:

Encryption and decryption operations: OpenSSL provides a variety of encryption algorithms and cryptography functions, including symmetric encryption algorithms (such as AES, DES), asymmetric encryption algorithms (such as RSA, ECC), hash functions (such as SHA-256, SHA- 1) etc., in order to achieve data confidentiality and integrity in the application.

Digital certificate management: OpenSSL can create, verify, and manage digital certificates, which are important in establishing secure communication channels and enabling authentication. It supports the X.509 standard certificate format, which can be used for server and client authentication during the SSL/TLS handshake.

SSL/TLS protocol support: OpenSSL implements SSL (Secure Socket Layer) and its successor TLS (Transport Layer Security) protocol. These protocols are used to protect the security of network communications and prevent data from being eavesdropped or tampered with during transmission.

Random Number Generation: Secure random number generation is critical for cryptography and security applications. OpenSSL provides various methods to generate high-quality random numbers for use in cryptographic operations.

Cryptographic hashing: Hash functions are used to convert arbitrary-length data into fixed-length hash values, often used in password storage, digital signatures, and integrity verification. OpenSSL supports a variety of hash algorithms, such as MD5, SHA-1, SHA-256, etc.

Cryptography tools: OpenSSL provides a series of command-line tools for performing encryption, decryption, signing, verification, etc., which can be used in the command-line interface or scripts.

Cross-platform support: OpenSSL can run on multiple operating systems, including various versions of Linux, Windows, macOS, and more.

Open source community support: As an open source project, OpenSSL has an active community that continuously maintains and improves the code to adapt to new security challenges and technological developments.

However, it is worth noting that despite the strong cryptography provided by OpenSSL, it has also faced some serious security vulnerabilities and issues over the past period of time. These problems have resulted in many security incidents, raising concerns about the security of OpenSSL. Over time, many security issues have been fixed, but this also reminds developers to keep up-to-date and maintain when using OpenSSL.

Download address: https://www.openssl.org/source/
insert image description here

Install command:

$ tar zxvf openssl-3.0.10.tar.gz
$ ./config

$ make

$ make install

$ ldconfig /usr/local/lib64/

$ openssl version

Compile and install display:
insert image description here

After the above compilation and installation are successful, the following problems in the system can be solved: because libssl.so.3 is compiled

openssl: error while loading shared libraries: libssl.so.3

reference

https://blog.csdn.net/u011436427/article/details/127859495

Guess you like

Origin blog.csdn.net/weixin_41194129/article/details/132353440