openssl-native 3.0.16

Requires NuGet 3.5 or higher.

dotnet add package openssl-native --version 3.0.16
                    
NuGet\Install-Package openssl-native -Version 3.0.16
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="openssl-native" Version="3.0.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="openssl-native" Version="3.0.16" />
                    
Directory.Packages.props
<PackageReference Include="openssl-native" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add openssl-native --version 3.0.16
                    
#r "nuget: openssl-native, 3.0.16"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=openssl-native&version=3.0.16
                    
Install openssl-native as a Cake Addin
#tool nuget:?package=openssl-native&version=3.0.16
                    
Install openssl-native as a Cake Tool

About

This package is a binary distribution of OpenSSL LTS version 3.0.16.

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 both x86 and x64 architectures) :

  • Dynamic libraries
  • Static libraries
  • PDB files
  • OpenSSL executables

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.0.16 sources using the following environment:

  • Windows 11 24H2 (build 26100.3476)
  • Visual Studio 2022 17.11.15
  • NASM 2.16.01
  • Strawberry Perl 5.32.1.1
  • Perl module Text::Template 1.61

Build scripts are located in the GIT repository openssl-native

C/C++ projects

OpenSSL libraries matching the targeted platform are automatically copied to projects output folder.

Configuring OpenSSL libraries linkage mode

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':

  • 'Dynamic Library (DLL)' : default behavior. It configures your project to link against OpenSSL dynamic libraries using import libraries.
  • 'Static' : It configures your project to link against OpenSSL static libraries that will be embedded in your library/executable.

OpenSSL static libraries matching the targeted platform and toolsets are automatically selected when building projects.

.Net 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").

Package content

   |-- bin
   |   |-- win-x86
   |   |   |-- native
   |   |       |--   openssl x86 executable and pdb
   |   `-- win-x64
   |       |-- native
   |           |--   openssl x86 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
   |-- runtimes
   |   |-- win-x86
   |   |   |-- native
   |           |- openssl x86 shared libraries and pdbs
   |   |-- win-x64
   |       |-- native
   |           |- openssl x64 shared libraries and pdbs
   

Notes

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]\native'.

License

OpenSSL version 3.0.16 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'

Product Compatible and additional computed target framework versions.
native native is compatible. 
Windows Store win-x64 is compatible.  win-x86 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.16 2,450 3/24/2025
3.0.15.1 2,492 10/31/2024
3.0.15 2,025 9/8/2024
3.0.14 689 7/11/2024
3.0.13 1,027 1/30/2024
3.0.8 1,698 3/30/2023
1.2.0 743 2/7/2023
1.1.0 623 1/26/2023
1.0.1 822 8/25/2022
1.0.0 997 7/21/2022

- No OpenSSL update.
   - Static libs for each supported toolsets (v141, v142, v143) are now provided.