Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Windows Tutorials»How To Install OpenSSL on Windows

    How To Install OpenSSL on Windows

    By RahulAugust 9, 20223 Mins Read

    Keeping your computer secure is a balancing act. On one hand, you need to keep your computer safe from viruses and hackers so that confidential information doesn’t get leaked. On the other hand, it’s also important that programs and apps are able to access information from users as needed so they can complete tasks efficiently. Keeping these two factors in mind is essential when installing software on your Windows OS.

    Advertisement

    Luckily for you, this article will explore how you can install OpenSSL on Windows. You see, OpenSSL helps developers and programmers create applications or software that have encrypted communication over the internet. In this article, you will learn what OpenSSL is and why it’s essential when creating a new app or program with security in mind. Additionally, we explore how to install OpenSSL on Windows using simple steps that even beginners can understand. Let’s get started!

    This tutorial will help you to install OpenSSL on Windows operating systems.

    Step 1 – Download OpenSSL Binary

    You need to download the latest OpenSSL windows installer file. Click the below link to visit the OpenSSL download page:

    http://slproweb.com/products/Win32OpenSSL.html

    How to Install OpenSSL on Windows

    The above screenshot may be outdated but we recommend downloading the most recent version of OpenSSL.

    Step 2 – Run OpenSSL Installer

    Now run the OpenSSL installer on your system. The OpenSSL required Microsoft Visual C++ to be installed on your system. If your system doesn’t have Microsoft Visual C++ installed, the installer will show your message like:

    How to Install OpenSSL on Windows

    Click Yes to download and install required Microsoft Visual C++ package on your system.

    How to Install OpenSSL on Windows

    Then again run the OpenSSL installer and follow the wizard.

    How to Install OpenSSL on Windows

    Step 3 – Setup Environment Variables

    Now set the environment variables to function OpenSSL properly on your system. You are required to set OPENSSL_CONF and Path environment variables.

    Use the following commands to set the environment for the current session only:

    set OPENSSL_CONF=C:\OpenSSL-Win64\bin\openssl.cfg 
    set Path=%Path%;C:\OpenSSL-Win64\bin 
    

    Set Variables Permanently – You can also set the OPENSSL_CONF and Path environment variables in the system permanently. To set the environment variable follow:

    Press Windows + R keys together to open run window, Then type “sysdm.cpl” in the Run dialog box and hit Enter. Alternatively, you can open Command Prompt and type the same command to open System Properties

    Go to “Advanced” tab and click on “Environment variables“.

    Set OPENSSL_CONF Variable:

    Set Path Variable:

    Step 4 – Run OpenSSL Binary

    Open a command prompt on your system and type openssl to open OpenSSL prompt. After that type version to get the installed OpenSSL version on your system.

    How to Install OpenSSL on Windows

    Conclusion

    This tutorial helped you for installing OpenSSL on the Windows system. As a best security practice, it is recommended to use the latest OpenSSL version on your system. You can find the latest version details from the www.openssl.org

    Openssl windows
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    4 Methods to Check .NET Framework Version on Windows

    Generate the SSH Key Pair on Windows {5 Steps}

    How to Clear the ASP.NET Temporary files in Windows

    View 47 Comments

    47 Comments

    1. phil on June 5, 2022 8:55 pm

      The set command is no longer required if you put openssl in the windows directory.

      Reply
    2. Aruna on April 12, 2022 6:58 am

      Awesome, Thank you!

      Reply
    3. Leo on January 4, 2022 11:47 pm

      new openssl does not go to the prompt. You need to mention “openssl version” to verify

      Reply
      • André on November 19, 2022 10:13 am

        Should i install openssl version3?
        or install version3 and 1.1?

        Reply
    4. Timothy Linnomme on June 7, 2021 1:01 pm

      Bitbay was barfing so hopefully this will fix the problem. Informative tutorial 🙂

      Reply
    5. Trisha on May 27, 2021 1:06 pm

      How do I find Step 3?

      Reply
      • Rahul on May 27, 2021 2:28 pm

        Updated tutorial with required instructions. Hope this will help you.

        Reply
    6. Dr.George perlington on January 27, 2021 8:38 pm

      hello i have problem when i installed and uninstalled i cant again install in same computer whats the problem ?

      Thanks,
      George

      Reply
    7. Mick Dawdy on December 22, 2020 3:15 pm

      Being a kinda smart guy, I copied and pasted the text for the environment variables from this page. Well, I had installed the 64 bit and the examples are 32 bit; and mine went into Program Files. So it not work. Had to edit these changes 🙂

      Reply
      • Emils on July 20, 2021 12:59 pm

        Nice, ty. This helped.

        Reply
    8. Toni on October 23, 2020 9:47 pm

      Thanks a bunch

      Reply
    9. pat on March 13, 2020 2:35 pm

      Thank you!

      Reply
    10. David on March 9, 2020 6:56 pm

      I installed openssl and it works properly as an exe. I am having trouble linking to the libs to use in an application.. The includes and library paths are set up. VS2017. 32bit. The various functions in ssl.h and crypto.h are not found by the compiler.

      Reply
      • DocDJ on October 5, 2020 1:01 pm

        I am having the same problem. The “openssl version” command worked. I have added the inckude path to the “additional include file directory” path., but Visual Studio still cannot find the .h files.

        Reply
    11. harish on February 13, 2020 12:05 pm

      Thanks mate. It saved my day

      Reply
    12. Thomas Harris on February 6, 2020 10:39 am

      That is not the `official download page` It is third party.

      Reply
    13. Erik Moore on December 28, 2019 5:00 am

      People must install an open SSL on their websites so that visitors will trust and will feel secure during the financial transactions. It can be installed with help of easy steps which are mentioned by the author.

      Reply
    14. Facebook on November 28, 2019 11:04 am

      You must install in your website OpenSSL (secure socket layer) to secure your website and it’s free its a toolkit for TLS TRANSPORT LAYER SECURITY, YOU JUST NEED TO DOWNLOAD AND INSTALL FOLLOWED BY JUST FEW STEP.

      Reply
    15. Gillian on November 25, 2019 9:14 am

      I am trying to follow this guide but it’s not working. I keep getting ‘The system cannot find the path specified.’ – i’m running it from the cmd admin. I’ve added the new system variable, but I’m lost when adding the path variable. Originally I had C:\OpenSSL-Win64\bin as copied from a different tutorial, but I don’t know what you mean other values here in this bit set Path=……Other Values here……;C:\OpenSSL-Win32\bin – I tried to follow the tutorial, but I don’t know what I need to add.

      Reply
      • Rahul on November 25, 2019 10:07 am

        Hi Gillian,

        Other values mean existing values. Keep the existing values as it is. Only append the OpenSSL path to it.

        Reply
        • Gillian on November 26, 2019 2:30 am

          Hi Rahul, thank you so much for your kind response, but I still don’t know what to type. Do you mean when I select path, then edit, i add C:\OpenSSL-Win64\bin to the bottom of the list? That’s what I have done (from a different tutorial) but it’s still not working. I am at my wits end trying to get this to work.

          Reply
    16. Baron on November 21, 2019 5:23 am

      Excellent instructions. Thank you!

      Reply
    17. Lucian on November 20, 2019 8:24 am

      Thank youuu!!! It Worked like a charm:D

      Reply
    18. Malik on October 31, 2019 4:00 pm

      I follow steps and it didn’t install C++ binaries. But when try to run get below error –

      The code execution cannot proceed because MSVCR120.dll was not found. Reinstaling didn’t fix it.

      Reply
    19. NeoCaracas on October 2, 2019 7:17 pm

      Excelente. muchas gracias!!!!

      Reply
    20. Jessica Lee on September 26, 2019 7:56 am

      I also wanted to install OpenSSL in my windows but could not install. Then I got your informative post and installed perfectly. It was working.

      Reply
    21. Tien Le on September 25, 2019 3:36 am

      Thank you.

      Reply
    22. dheeraj on September 23, 2019 10:11 pm

      bro its not working please help me

      Reply
    23. Tien Le on September 19, 2019 7:12 am

      I made a mistake and included openssl.cfg in the Path variable. Removed it and works now. Thanks.

      Reply
    24. Tien D Le on September 19, 2019 6:51 am

      Hi, thank you for the information. At this time, I’m getting “‘openssl’ is not recognized as an internal or external command,
      operable program or batch file.” when running openssl from command prompt. Any suggestion as to resolve this?

      Thanks,
      Tien

      Reply
      • Rahul on September 19, 2019 7:10 am

        It looks you have not configured Path Variable as shows in Step 3.

        Reply
        • Dhaneesh Kumar on September 25, 2019 10:50 am

          Hi, thank you for the information. At this time, I’m getting “‘openssl’ is not recognized as an internal or external command,

          I have set path variable also. How it can resolve

          Reply
          • Carl Poppa on October 2, 2019 5:03 pm

            Make sure you run cmd as administrator

            Reply
            • gurwinder on April 22, 2021 8:37 pm

              it worked for me. thanks

              Reply
    25. jose on September 14, 2019 12:07 am

      GOOOOOOOOOOOOOOOOOOOOOOOOOOOOODDDDDDDDDDDDDD!!!!!!!!!!!!!!!!!!!!

      Reply
    26. Marcelo on September 11, 2019 9:31 pm

      Thank you very much. Very clear.

      Reply
    27. Heru on September 8, 2019 11:48 am

      thank you. it works for me

      Reply
    28. Dav on September 8, 2019 11:15 am

      Would you happen to know how I get the c compiler (gcc) to use the openssl library when I use #include in my program?, it says “no such file or directory”

      Reply
    29. Stephen on September 6, 2019 4:46 pm

      Thank you. This worked in Windows 10

      Reply
    30. Nasri on September 5, 2019 1:13 am

      It works. Thanks a lot.

      Reply
    31. Alexander on August 4, 2019 2:01 pm

      > Download the latest OpenSSL windows installer from Official download page. The official download page link is given below: http://slproweb.com/products/Win32OpenSSL.html

      WARNING !!!!
      http://slproweb.com/products/Win32OpenSSL.html is NOT official download page – it’s third party software.

      The OpenSSL project does not distribute any code in binary form, and does not officially recommend any specific binary distributions. An informal list of third party products can be found on the wiki (https://wiki.openssl.org/index.php/Binaries)

      Reply
    32. Jayan Gopinath on June 14, 2019 2:23 pm

      Thanks a lot Rahul. I did install 1.0.2j version on my Windows xp desktop. But it is not working properly.
      Even python pip stopped working after that because of SSL TLS issues. Could you please send me a sample
      openssl.cfg file for Windows XP SP3. Thanks in advance.

      Reply
    33. simon on May 24, 2019 4:58 pm

      Thanks for such a beautiful post, very informative and useful article

      Reply
    34. Mike on May 23, 2019 9:12 am

      You are downloading the 64 version but using the 32 version paths

      Reply
      • Rahul on May 24, 2019 12:00 pm

        Hi Mike, The webpage have both version of files to download.

        Reply
        • Mike on May 28, 2019 11:35 am

          Sure, it was just to let you know, that if people copy-paste what you are doing it won’t work. I did this before realizing the issue.

          Reply
    35. Arthur on May 21, 2019 2:52 pm

      Thank You, worked in Windows 10.

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.