You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.NET relies on deprecated OpenSSL 3 functions #122778
I've built a stripped-down and hardened version of OpenSSL 3.5.4 (latest LTS). When configuring OpenSSL with no-deprecated, .NET won't use it because it insists on importing the deprecated d2i_RSAPublicKey function.
Reproduction Steps
On Linux:
Clone OpenSSL 3.5.4
config no-deprecated
make
Start any .NET program that requires OpenSSL
Fail -> "no suitable OpenSSL found" (d2i_RSAPublicKey)
Expected behavior
.NET should not rely on deprecated functions. I think functions like d2i_RSAPublicKey are just for DER-(de)serialization, which could be done with managed code using AsnReader/AsnReader instead. Or maybe there are newer, non-deprecated OpenSSL functions available.
Actual behavior
.NET cannot use OpenSSL 3 when it was built with no-deprecated
Regression?
No response
Known Workarounds
No response
Configuration
.NET 10.0.1 SDK
Linux (Ubuntu 24.04)
x64
private OpenSSL build
We're using #46526 to track transitioning the runtime to not depend on OpenSSL 1.x functions, but right now it is expected that the runtime will not build with no-deprecated.
I believe @PranavSenthilnathan is looking at this for the .NET 11 timeframe (no guarantees though)
Activity
vcsjones commentedon Dec 29, 2025
We're using #46526 to track transitioning the runtime to not depend on OpenSSL 1.x functions, but right now it is expected that the runtime will not build with
no-deprecated.I believe @PranavSenthilnathan is looking at this for the .NET 11 timeframe (no guarantees though)