DEV Community

Danilo Vieira
Danilo Vieira

Posted on

Installing OpenSSL on Windows and adding to PATH


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)

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 🙏

kostiantyno profile image
Kostiantyn Ochenash

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

kirazzobu16 profile image
kirazzobu16 • Edited

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

jmnoobiedev profile image

How did you fix this?

kochchy profile image
Matouš Vanča
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 [].

sacru2red profile image

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