DEV Community

Maksim Bober
Maksim Bober

Posted on

How to build openssl when you broke it.

# Step 1: Update your system
sudo apt update

# Step 2: Install required dependencies
sudo apt install build-essential

# Step 3: Download and extract OpenSSL source
wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz
tar -xf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l

# Step 4: Configure and build OpenSSL
./config
make
# Step 5: Test that everything works
make test

# Step 6: Install OpenSSL
sudo make install

# Step 7: Verify the installation
openssl version
Enter fullscreen mode Exit fullscreen mode

Top comments (0)