3 Answers
For Windows, go to this site and download the installer package for your version of Windows: https://slproweb.com/products/Win32OpenSSL.html.
Once installed, you can run the openssl command from the bin directory of the installed path, and it works just like the way Ryan shows in the lab. If you get ‘openssl not found’, it’s because you are not in the bin directory (you have to reboot usually to get the directory added to the path environment variable).
My favorite way to install OpenSSL on Windows is to install Git for Windows from:
Git for Windows Download (https://git-scm.com/download/win)
This not only gives you the openssl command, but also gets you ssh, scp, git, and a host of other Linux type commands that you’ll find useful working with AWS.
Anybody who is working on windows 10, I strongly recommend getting an Ubuntu subsystem from Microsoft Store: https://www.microsoft.com/store/productId/9N9TNGVNDL3Q
You just have to hit "Get the app" and when its done installing set a username and password, also it will mount all your drive under /mnt/drive_letter
I know Vishav asked for win7 options, but others might find this helpful.
Also you can dowload openssl for windows too: http://gnuwin32.sourceforge.net/packages/openssl.htm
even I am facing the same issue..not able to run above command on windows.
I found the easiest was to create a amazon linux t2.micro instance, which I used for labs etc. it spends most of it’s time shutdown, but when you need to do something using linux or aws cli just start it up.