Environment variable renamed to DOTNET_OPENSSL_VERSION_OVERRIDE
.NET previously supported a configuration-switch environment variable called CLR_OPENSSL_VERSION_OVERRIDE
, which allowed users to specify the preferred OpenSSL library version for apps running on Linux. In .NET 10, this environment variable has been renamed to DOTNET_OPENSSL_VERSION_OVERRIDE
to align with the naming convention of other configuration switch environment variables in .NET.
Previous behavior
The CLR_OPENSSL_VERSION_OVERRIDE
environment variable was used to specify the preferred OpenSSL version to be loaded in the application.
New behavior
The DOTNET_OPENSSL_VERSION_OVERRIDE
environment variable is used to specify the preferred OpenSSL version to be loaded in the application.
Version introduced
.NET 10 Preview 1
Type of breaking change
This change is a behavioral change.
Reason for change
This change ensures the environment variable is consistent with the naming convention used for all .NET environment variables.
Recommended action
If you have a .NET 10 app that previously used the CLR_OPENSSL_VERSION_OVERRIDE
environment variable, use DOTNET_OPENSSL_VERSION_OVERRIDE
instead.
Affected APIs
N/A