DEV Community

Masui Masanori
Masui Masanori

Posted on

4

[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 https://github.com/openssl/openssl.git


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

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs