DEV Community

Danilo Vieira
Danilo Vieira

Posted on

Installing OpenSSL on Windows and adding to PATH

OpenSSL

Let me guess... You just open the Flipper and it shows that you do not have the openssl command on your PATH and you have no idea how to do this, right?
All right, keep calm, drink a coffee and pay attention to the following steps.

Downloading and unzipping the binaries

You need to download the openssl binaries. This basically will execute the openssl on your computer.
Click on this link and the download will begins.

Now, unzip your file on some folder (i recommend you to do this on C:\ directory) and rename the unzipped folder to openssl just for organization.

Adding to PATH

Is very quickly and simple do this.

  • Go to your environment's variables, you can just search this on Windows menu;
  • On this window, you will do all on User's Variables, NOT on System's Variables. Scroll to path option and click on it;
  • Select the Edit option on bottom side;
  • Select the New option on right side;
  • If you did as I suggested (unzip the openssl folder on C:\ directory), then you will paste C:\openssl\x64\bin, otherwise, paste the path to the openssl folder until the bin folder as openssl\x64\bin.

Now all its done. Click Ok on all windows, open your terminal and type openssl version.
If it doesn't shows the openssl version, reboot your computer and try again. if it still doesn't work, do all steps again and
if it still doesn't work, let me know in the comments... I will be happy on help you ^^.

Top comments (7)

Collapse
 
raphabarreto profile image
Raphael Barreto • Edited

Actually, if you have Git Bash on Windows, you just need to point the Git/usr/bin folder location on System Variable Environment in Path location.

Great post 🙏

Collapse
 
kostiantyno profile image
Kostiantyn Ochenash

Would you like to post about, how to update the old openssl 1.1.1 to 3.0 ?

Collapse
 
kirazzobu16 profile image
kirazzobu16 • Edited

It doesn't work. I have a error like
Image description

Collapse
 
jmnoobiedev profile image
JjMM

How did you fix this?

Collapse
 
kochchy profile image
Matouš Vanča
Collapse
 
ankur_khandlwal profile image
Ankur Khandelwal • Edited

Hey, I tried each step but still, OpenSSL is not installed. You can check out the attached screenshot [dev-to-uploads.s3.amazonaws.com/i/...].

Collapse
 
sacru2red profile image
sacru2red

dont add openssl
just click path and click "edit" button and "add"