windowsopenssl

Is there an OpenSSL for windows?


I'm trying to generate OpenSSL certificates on Windows OS. But I find most of the commands related to OpenSSL are for *nix OS.

Is there an OpenSSL for Windows OS? If yes, from where can I get it? Is this official OpenSSL build for Windows?


Solution

  • Yes. You can do one of two things:

    1. Build it yourself

      You'll need a build environment (either Visual Studio or msys2 based), and a few other pre-requisites. Download the source from here:

      https://www.openssl.org/source/

      And (assuming you downloaded the 1.1.0 version), read the INSTALL notes here:

      https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable/INSTALL

      There are also some Windows specific notes here:

      https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable/NOTES.WIN

    2. Download a pre-compiled version

      The OpenSSL project doesn't distribute pre-compiled binaries, but they do maintain a list of third-party provided binaries. The list is here:

      https://wiki.openssl.org/index.php/Binaries