Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How to install OpenSSL

Shulou Source: shulou.com Published: 2022-05-31 23:27:01 10月03日 Update

This article is about how to install OpenSSL. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1. Download OpenSSL

OpenSSL download address: https://oomake.com/download/openssl

This link has the download address of the latest version of the Windows version and the source version, which can be used by Windows, LInux and Mac OS systems.

2. Install OpenSSL on Windows system

Download the OpenSSL Windows version from the link above, and note that 32-bit and 64-bit are different installation packages

After downloading the exe file, double-click and follow the prompts to install it step by step.

3. Install OpenSSL3.1 on Linux system install OpenSSL:# tar-xzf openssl-1.0.2f.tar.gz# cd openssl-1.0.2f# mkdir / usr/local/openssl#. / config-- prefix=/usr/local/openssl# make# make install

This completes the installation, followed by some auxiliary steps.

3.2 create a soft connection # which openssl/usr/local/openssl/bin/openssl

For ease of use and future updates, you can create a soft connection, as follows:

# ln-s / usr/local/openssl/bin/openssl / usr/bin/openssl3.3 execute the following command # cd / usr/local/openssl# ldd / usr/local/openssl/bin/openssl linux-vdso.so.1 = > (0x00007ffc63975000) libssl.so.1.1 = > not found libcrypto.so.1.1 = > not found libdl.so.2 = > / lib64/libdl.so.2 (0x00007f8d9da0f000) libpthread.so.0 = > / lib64/libpthread.so.0 (0x00007f8d9d7f3000) ) libc.so.6 = > / lib64/libc.so.6 (0x00007f8d9d431000) / lib64/ld-linux-x86-64.so.2 (0x00007f8d9dc28000)

Install OK

3.4 View version # openssl version/usr/local/openssl/bin/openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Cannot find the dynamic library libssl.so.1.1. If there is a small problem, execute the following command:

# vim / etc/ld.so.conf

Add a line at the end:

/ usr/local/openssl/lib

Then execute:

# ldconfig / etc/ld.so.conf# openssl versionOpenSSL 1.1.0f 25 May 2017

Thank you for reading! This is the end of the article on "how to install OpenSSL". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Version system content command address more articles links different good practical next one line easy to use dynamic files articles latest version steps source code Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Information OPPO Reno Huawei Xiaomi