openssl-native 3.5.9

Requires NuGet 3.5 or higher.

dotnet add package openssl-native --version 3.5.9
                    
NuGet\Install-Package openssl-native -Version 3.5.9
                    
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.5.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="openssl-native" Version="3.5.9" />
                    
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.5.9
                    
#r "nuget: openssl-native, 3.5.9"
                    
#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.
#:package openssl-native@3.5.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=openssl-native&version=3.5.9
                    
Install as a Cake Addin
#tool nuget:?package=openssl-native&version=3.5.9
                    
Install as a Cake Tool

About

This package is a binary distribution of OpenSSL LTS version 3.5.9 for Windows (x86, x64 and ARM64).

It can be used in C/C++ projects as well as .NET projects (.NET Framework, .NET Core and .NET 5+).

It ships the following OpenSSL components for each supported architecture:

  • Dynamic libraries (DLLs)
  • Import libraries
  • Static libraries (one per MSVC toolset)
  • The openssl.exe command-line tool

The openssl.exe executables and the dynamic libraries have no external runtime dependencies (besides OS libraries): they are built with /MT and statically link the Microsoft C runtime. Static libraries are provided per MSVC toolset: vc141 (VS 2017), vc142 (VS 2019) and vc143 (VS 2022 / VS 2026). For ARM64, only vc142 and vc143 static libraries are provided, as there is no vc141 ARM64 toolset.

It was built from the OpenSSL 3.5.9 sources using the following environment:

  • Windows 11 25H2 (build 26200.9457)
  • Visual Studio 2026 18.11.1
  • NASM 3.01
  • Strawberry Perl 5.32.1.1
  • Perl module Text::Template 1.61

The build scripts are located in the openssl-native git repository.

C/C++ projects

The OpenSSL libraries matching the project platform are automatically copied to the project output folder.

Configuring the OpenSSL linkage mode

After package installation, the default behavior is to link against the OpenSSL dynamic libraries via their import libraries.

To change this, open your project properties and go to Configuration Properties > Referenced Packages > OpenSSL > Linkage:

  • Dynamic Library (DLL) (default): links your project against the OpenSSL dynamic libraries using their import libraries.
  • Static: links your project against the OpenSSL static libraries, which are then embedded into your library/executable.

The static libraries matching the target platform and toolset are selected automatically at build time.

.NET projects

  • .NET Framework projects: the OpenSSL libraries matching the target platform are automatically copied to the project output folder.
  • .NET Core / .NET 5+ projects: all OpenSSL libraries are automatically copied to the project output folder under a runtimes folder, with one subfolder per platform (win-x86, win-x64, win-arm64).

Package content

|-- bin
|   |-- win-x86
|   |   `-- native
|   |       `-- openssl x86 executable
|   |-- win-x64
|   |   `-- native
|   |       `-- openssl x64 executable
|   `-- win-arm64
|       `-- native
|           `-- openssl ARM64 executable
|-- build
|   |-- native
|   |   `-- MSBuild assets for C/C++ projects
|   `-- MSBuild assets for .NET projects
|-- docs
|   `-- documentation and license
|-- images
|   `-- image files (package icon)
|-- include
|   `-- openssl
|       `-- C headers
|-- lib
|   |-- win-x86
|   |   `-- native
|   |       `-- openssl x86 import libraries and per-toolset static libraries
|   |-- win-x64
|   |   `-- native
|   |       `-- openssl x64 import libraries and per-toolset static libraries
|   `-- win-arm64
|       `-- native
|           `-- openssl ARM64 import libraries and per-toolset static libraries
`-- runtimes
    |-- win-x86
    |   `-- native
    |       `-- openssl x86 shared libraries (DLLs)
    |-- win-x64
    |   `-- native
    |       `-- openssl x64 shared libraries (DLLs)
    `-- win-arm64
        `-- native
            `-- openssl ARM64 shared libraries (DLLs)

Notes

openssl.exe is also included in the package for optional utility purposes. It is located in the NuGet package folder under bin\<win-x86|win-x64|win-arm64>\native.

License

OpenSSL version 3.5.9 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 under docs.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Windows Store win-arm64 is compatible.  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.5.9 299 10/23/2026
3.5.5 8,939 2/5/2026
3.5.4 4,713 10/31/2025
3.5.3 2,542 9/24/2025
3.0.17 503 8/25/2025
3.0.16 16,645 3/24/2025
3.0.15.1 2,844 10/31/2024
3.0.15 2,525 9/8/2024
3.0.14 950 7/11/2024
3.0.13 1,309 1/30/2024
3.0.8 1,994 3/30/2023
1.2.0 1,057 2/7/2023
1.1.0 942 1/26/2023
1.0.1 3,338 8/25/2022
1.0.0 1,341 7/21/2022

- Updated OpenSSL to 3.5.9