openssl-native 3.0.8

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.5 or higher.

dotnet add package openssl-native --version 3.0.8                
NuGet\Install-Package openssl-native -Version 3.0.8                
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.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add openssl-native --version 3.0.8                
#r "nuget: openssl-native, 3.0.8"                
#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.
// Install openssl-native as a Cake Addin
#addin nuget:?package=openssl-native&version=3.0.8

// Install openssl-native as a Cake Tool
#tool nuget:?package=openssl-native&version=3.0.8                

About

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

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

These libraries have no external runtime dependencies (except OS libraries) as they statically link against the MS C runtime (vc143).

It has been built from the OpenSSL 3.0.8 sources using the following environment:

  • Windows 11 22H2 (build 22621.1413)
  • Visual Stutdio 2022 17.5.1
  • 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 librairies matching the targeted platform are automatically copied to projects output folder.

Confuring OpenSSL libraries linkage mode

By default, after package intallation, 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 libary/executable.

.Net projects

For Legacy .NET Framework projects, OpenSSL librairies matching the targeted platform are automatically copied to projects output folder.

For Legacy .NET Core and .NET5+, All OpenSSL librairies 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 and import libraries
   |   `-- win-x64
   |       |-- native
   |           |-- openssl x64 static 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 utilitary purpose. It is located in the nuget package folder under '\bin\[win-x86|win-x64]\native'.

License

OpenSSL version 3.0.8 is licensed under the open source Apache License 2.0. A local copy of the licence (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.15.1 330 10/31/2024
3.0.15 450 9/8/2024
3.0.14 460 7/11/2024
3.0.13 730 1/30/2024
3.0.8 1,569 3/30/2023
1.2.0 642 2/7/2023
1.1.0 519 1/26/2023
1.0.1 722 8/25/2022
1.0.0 863 7/21/2022