I have a question about how and what is the version of OpenSSl that I must install in Windows to later create certificates. Install a one version (openssl-1.0.2d-fips-2.0.10) found in SourceForge but it does not generate the files correctly. There is also the official website https://www.openssl.org, but I do not know how to install it and how, so that when it comes to generating the keys and .pem file, it works. Generate some environment variables that point to the folder where I unzipped the downloaded, I do not know if it is the correct way.


当前回答

我从https://slproweb.com/products/Win32OpenSSL.html安装了openssl 3.0.0。然后我进入windows start ->openssl->Win64 openssl命令提示符,它会打开一个像常规dos窗口一样的窗口,我所需要的就是进入openssl的安装文件夹。

其他回答

我还想为Windows 10创建OPEN SSL。有一种简单的方法可以避免从第三方网站安装未知软件和冒病毒的风险,就是使用Git for Windows安装中的openssl.exe。在我的例子中,我在Git for Windows安装的下面位置找到了开放SSL。

C:\Program Files\Git\usr\bin\ openssl.exe

如果您还想了解如何使用OPENSSL生成和使用证书,这里是我博客上的一篇文章。分步说明首先解释了如何使用Microsoft Windows默认工具和OPEN SSL,并解释了它们之间的区别。

https://kaushikghosh12.blogspot.com/2016/08/self-signed-certificates-with-microsoft.html

安装铲斗,然后打字

scoop install openssl

如果您运行的是Windows 10 1709 (build 16299)或更高版本,则可以使用下面的winget命令安装OpenSSL

winget install -e --id ShiningLight.OpenSSL

或者如果你的系统上安装了Git for Windows,你也可以在Git文件目录中找到OpenSSL。

C:\Program Files\Git\usr\bin\openssl.exe

更多详细信息请参见本指南3 Windows系统上安装OpenSSL的方法。

你可以从这里获取https://slproweb.com/products/Win32OpenSSL.html

得到https://wiki.openssl.org/index.php/Binaries的支持和认可

如果你安装了Git,

您可以打开Git Bash (shift键+右键单击文件夹-> Git Bash Here),并在Bash中使用openssl命令