# No usable version of the libssl was found

**URL:** <https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941>\
**Category:** SonarQube Cloud\
**Tags:** sonarqube-cloud\
**Created:** [March 31, 2021, 1:24pm UTC](https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941 "2021-03-31T13:24:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![khwaja625](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@khwaja625](https://community.sonarsource.com/u/khwaja625)\
**Post date:** [March 31, 2021, 1:24pm UTC](https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941/1 "2021-03-31T13:24:57Z")

</div>

Hi,

since the January 2021 we are getting the below mention error on our AzureDevOps while Build process, not sure why this sonar config error is popping up,  
can your help or provide direction for fixing this issue.

Error :

# Starting: Prep - Configure SonarCloud

# Task : Prepare Analysis Configuration Description : Prepare SonarCloud analysis configuration Version : 1.17.0 Author : sonarsource Help : Version: 1.17.0. [More Information](https://sonarcloud.io/documentation/analysis/scan/sonarscanner-for-azure-devops/)

SYSTEMVSSCONNECTION exists true  
/opt/hostedtoolcache/dotnet/dotnet /home/vsts/work/\_tasks/SonarCloudPrepare\_14d9cde6-c1da-4d55-aa01-2965cd301255/1.17.0/dotnet-sonar-scanner-msbuild/SonarScanner.MSBuild.dll begin /k:mi-buyerportal-api /o:mihomes  
SonarScanner for MSBuild 5.1  
Using the .NET Core version of the Scanner for MSBuild  
##[error]No usable version of the libssl was found  
No usable version of the libssl was found  
##[error]The process ‘/opt/hostedtoolcache/dotnet/dotnet’ failed with exit code null  
Finishing: Prep - Configure SonarCloud

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [April 1, 2021, 7:32am UTC](https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941/2 "2021-04-01T07:32:51Z")

</div>

Hi @khwaja625 and welcome to the community.

Seems that this is related to missing libs in your linux OS, not the scanner.

You can check this kind of GH issue which may help : [No usable version of libssl was found · Issue #4749 · dotnet/core · GitHub](https://github.com/dotnet/core/issues/4749)

Mickaël

---

<div class="post-metadata">

**Author:** ![khwaja625](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@khwaja625](https://community.sonarsource.com/u/khwaja625)\
**Post date:** [April 5, 2021, 5:07pm UTC](https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941/3 "2021-04-05T17:07:59Z")

</div>

Thanks Mickael, after following the answers to the links your provided m getting the same error.

Using the .NET Core version of the Scanner for MSBuild  
##[error]No usable version of the libssl was found

you mention about the missing libs, what are those libraries are those can please let me know and point me to the right direction or provide the link.

this is the openssl version is installed on the project image  
 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/d/1/d153433803a69b4f8555b5359770ab1eb311d2d7.png)

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [April 12, 2021, 6:55am UTC](https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941/4 "2021-04-12T06:55:23Z")

</div>

Can you try installing this one ?

[https://zoomadmin.com/HowToInstall/UbuntuPackage/libssl-dev](https://zoomadmin.com/HowToInstall/UbuntuPackage/libssl-dev)

(it’s for Ubuntu, check for other source if this is not your distribution)

Mickaël

---

<div class="post-metadata">

**Author:** ![Seb](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Seb](https://community.sonarsource.com/u/Seb)\
**Post date:** [April 12, 2021, 10:16pm UTC](https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941/5 "2021-04-12T22:16:54Z")

</div>

I’m having the same issue. Azure Pipeline using ubuntu-latest; however, the SonarCloud components require an old version of .NET Core (2.2.103) as per guidance here: [SonarCloud Support for .NET Core 3.0.100-preview5 - #8 by Jared\_Stroebele](https://community.sonarsource.com/t/sonarcloud-support-for-net-core-3-0-100-preview5/10167/8). I’m building a Linux Docker Container so cannot use windows-latest. I’ve tried installing prerequisites and the latest libssl-dev but nothing works. This is holding up a production pipeline.

Seb

---

<div class="post-metadata">

**Author:** ![khwaja625](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@khwaja625](https://community.sonarsource.com/u/khwaja625)\
**Post date:** [April 29, 2021, 5:40pm UTC](https://community.sonarsource.com/t/no-usable-version-of-the-libssl-was-found/40941/6 "2021-04-29T17:40:06Z")

</div>

Thanks for your replies,  
It resolved my issue after installing .Net 2.0, earlier it was 2.2, below is my changes.

#REGION Prep  
- task: UseDotNet@2  
displayName: Prep - Install dotnet for SonarCloud support  
condition: |  
eq(variables.SkipSonar, false)  
inputs:  
version: ‘2.0.0’
