Prebuilt x86 / x64 / ARM64 native dynamic / static libraries for OpenSSL (Cryptography and SSL/TLS Toolkit). Using LTS version 3.5.5. No runtime dependencies. Compatible with C/C++/.Net projects
$ dotnet add package openssl-nativeThis package is a binary distribution of OpenSSL LTS version 3.5.5.
It can be used in C/C++ projects but also in .Net projects (.NET Framework 2-4, .NET core 2-3, .NET 5+).
It ships OpenSSL components (targeting x86, x64 and ARM64 architectures) :
OpenSSL executables and dynamic libraries have no external runtime dependencies (except OS libraries) as they statically link against the MS C runtime (vc143). Specific static libraries are provided for the following runtimes: vc141 (VS 2017), vc142 (VS 2019), vc143 (VS 2022).
It has been built from the OpenSSL 3.5.5 sources using the following environment:
Build scripts are located in the GIT repository openssl-native
OpenSSL libraries matching the targeted platform are automatically copied to projects output folder.
By default, after package installation, default behavior is to link against OpenSSL dynamic libraries.
To change this behavior, you can go to your project Properties under 'Configuration Properties' > 'Referenced Packages' > 'OpenSSL' > 'Linkage':
OpenSSL static libraries matching the targeted platform and toolsets are automatically selected when building projects.
For Legacy .NET Framework projects, OpenSSL libraries matching the targeted platform are automatically copied to the projects output folder.
For Legacy .NET Core and .NET5+, All OpenSSL libraries are automatically copied to projects output folder under a folder "runtimes" with a subfolder for each platforms ("win-x86", "win-x64", "win-arm64").
|-- bin
| |-- win-x86
| | |-- native
| | |-- openssl x86 executable and pdb
| `-- win-x64
| |-- native
| |-- openssl x64 executable and pdb
| `-- win-arm64
| |-- native
| |-- openssl ARM64 executable and pdb
|-- build
| |-- native
| | |-- msbuild assets for C/C++ projects
| `-- msbuild assets for .Net projects
|-- docs
| |-- documentation and license
|-- images
| |-- images files
|-- include
| |-- openssl
| |-- C headers
|-- lib
| |-- win-x86
| | |-- native
| | |-- openssl x86 static (runtimes specific) and import libraries
| `-- win-x64
| |-- native
| |-- openssl x64 static (runtimes specific) and import libraries
| `-- win-arm64
| |-- native
| |-- openssl ARM64 static (runtimes specific) and import libraries
|-- runtimes
| |-- win-x86
| | |-- native
| |- openssl x86 shared libraries and pdbs
| |-- win-x64
| |-- native
| |- openssl x64 shared libraries and pdbs
| |-- win-arm64
| |-- native
| |- openssl ARM64 shared libraries and pdbs
OpenSSL.exe is also included in the packages for optional utilitarian purposes. It is located in the nuget package folder under '\bin\[win-x86|win-x64|win-arm64]\native'.
OpenSSL version 3.5.5 is licensed under the open source Apache License 2.0. A local copy of the license (license.txt) can be found in the nuget package folder '/docs'