Repository navigation
Open
Labels
needs investigationRequires further investigationRequires further investigation
Agent suggestions
Public previewMore actions
Description
dotnet paket install crashes with an SSL error.
$ dotnet paket install
Paket version 7.1.5+e2fe7c693356a5e70a74cc01501f7dc5f8996695
Resolving dependency graph...
Total time taken: 706 milliseconds
Paket failed with
-> Unable to retrieve package versions for 'Microsoft.NetCore.App.Ref'
-- CLOSED --
-- OPEN ----
Microsoft.NetCore.App.Ref (from /home/njlr/Documents/proj/paket.dependencies)
Microsoft.AspNetCore.App.Ref (from /home/njlr/Documents/proj/paket.dependencies)
FSharp.Core (from /home/njlr/Documents/proj/paket.dependencies)
Amazon.Lambda.Core (from /home/njlr/Documents/proj/paket.dependencies)
Amazon.Lambda.RuntimeSupport (from /home/njlr/Documents/proj/paket.dependencies)
-> Could not load resources from 'https://api.nuget.org/v3/index.json'
-> Request to 'https://api.nuget.org/v3/index.json' failed with unknown error (_safeGetFromUrl)
-> HttpRequestException: The SSL connection could not be established, see inner exception.
-> AuthenticationException: Authentication failed, see inner exception.
-> TypeInitializationException: The type initializer for 'SslMethods' threw an exception.
-> TypeInitializationException: The type initializer for 'Ssl' threw an exception.
-> TypeInitializationException: The type initializer for 'SslInitializer' threw an exception.
-> OpenSslCryptographicException: error:0E076071:configuration file routines:MODULE_RUN:unknown module name
paket.dependencies
source https://api.nuget.org/v3/index.json
storage: none
framework: net6.0, netstandard2.1
nuget Microsoft.NetCore.App.Ref
nuget Microsoft.AspNetCore.App.Ref
nuget FSharp.Core
nuget Amazon.Lambda.Core
nuget Amazon.Lambda.RuntimeSupport
System info:
$ dotnet --version
6.0.301
$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammyReacted by Vinícius Gajo
Metadata
Metadata
Assignees
Labels
needs investigationRequires further investigationRequires further investigation
Activity
[-]SSL Issue on Ubuntu 22.04?[/-][+]SSL issue on Ubuntu 22.04?[/+]njlr commentedon Jul 11, 2022
This appears to have solved it: https://stackoverflow.com/a/72137669/1256041
I guess this is a .NET issue rather than a Paket one?
hyazinthh commentedon Jul 12, 2022
I have the same system info as you but got
Got around it by installing libssl1.0 from here.
64J0 commentedon Sep 3, 2024
I'm having this same problem of
No usable version of libssl was foundusing Ubuntu 24.04.64J0 commentedon Oct 9, 2024
Got this error now:
Related issues:
OpenSslCryptographicException#4229Thorium commentedon Jan 15, 2025
Hi, did you find anything? E.g. TypeProvider SDK build works with Windows but Ubuntu crashes on
No usable version of libssl was found:https://github.com/fsprojects/FSharp.TypeProviders.SDK/actions/runs/12778200278/job/35620537312
Trying to install the libssl manually to CI, it says: libssl-dev is already the newest version (3.0.13-0ubuntu3.4).
Edit: This seems to be an issue with
ubuntu-latest; however, hard-coding to versionubuntu-22.04seems to help.gretmn102 commentedon Nov 8, 2026
Try use:
It helped me as a temporary solution