In this exercise, you’ll learn how to install OpenSSL for Windows.
Download OpenSSL from this link: https://slproweb.com/products/Win32OpenSSL.html
Select the appropriate download, in this case: Win64 OpenSSL v3.0.0.
After downloading OpenSSL, you’ll find the executable in your Downloads folder. Double-click to run the installer.
You might see this message. Click More Info.
Click Run anyway.
Select I accept the agreement and click Next.
Leave the default setting and click Next.
Leave the default setting and click Next.
Leave the default setting and click Next.
Click Install.
After the installation finish, uncheck the donation checkbox and click Finish.
In the Windows search field, enter systempropertiesadvanced and hit Enter.
Click Environment Variables.
Select Path and click Edit….
Add the environment variable with the path C:\Program Files\OpenSSL-Win64\bin. Click OK twice to save your changes.
You now have to reboot your Windows machine to ensure that the above new path variable is taken into account by the system.
After the system has rebooted, open a command prompt and enter the command openssl version
. You should get a response like the one below.
If you have a similar response, that means that OpenSSL is successfully installed and you can now execute commands to create certificates using OpenSSL.