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

👋 One new thing before you go

Tired of getting nickel-and-dimed on your side projects? 😒

We have created a membership program that helps cap your costs so you can build and experiment for less. And we currently have early-bird pricing which makes it an even better value! 🐥

Just one of many great perks of being part of the network ❤️

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay