DEV Community

Masui Masanori
Masui Masanori

Posted on

[Windows] Installing OpenSSL

Getting tools and sources

To install OpenSSL, I have to build it from source.
I can get the source from its GitHub repository.

git clone
Enter fullscreen mode Exit fullscreen mode

To build it, I need install Visual Studio(and components for C++ Desktop Development), Perl and NASM.

Image description

I installed Visual Studio Community 2022, Strawberry Perl, and NASM.

Most of the installation steps are described in the documentation.

However, there are two things to note.

1. Should not use the default installed Command Prompt or PowerShell

I must use the "x64 Native Tools Command Prompt for VS 2022" installed with Visual Studio.
Otherwise I will get errors on executing "nmake".

2. Execute "nmake install" as Administrator

I must execute "nmake install" as Administrator to avoid permission denied.

Now I can execute OpenSSL commands.

Image description

Top comments (0)