curl breaks by installing libcurl4-openssl-dev=7.81.0-1ubuntu1.11

Bug #2028191 reported by Dima
This bug affects 3 people
Affects Status Importance Assigned to Milestone
curl (Ubuntu)
Fix Released

Bug Description

On a brand new Ubuntu 22.04 server, running:
sudo apt install curl libcurl4-openssl-dev
will install curl version "7.81.0-1ubuntu1.11" and libcurl4-openssl-dev version "7.81.0-1ubuntu1.11".

Installing libcurl4-openssl-dev version "7.81.0-1ubuntu1.11" breaks curl. Once that package is installed, curl no longer works against https endpoints. For example:
# curl
curl: (60) SSL: no alternative certificate subject name matches target host name ''
More details here:

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

This problem is not exhibited in the previous version, "7.81.0-1ubuntu1.10".

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libcurl4-openssl-dev 7.81.0-1ubuntu1.11
ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Jul 19 19:20:21 2023
 PATH=(custom, no user)
SourcePackage: curl
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dima (dimacloud66) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in curl (Ubuntu):
status: New → Confirmed
Revision history for this message
Jaap Marcus (jaapmarcus) wrote :

Can confirm the same issue with Both Jammy and Focal

Revision history for this message
Dima (dimacloud66) wrote :

Looks like it's resolved in version "7.81.0-1ubuntu1.13".

Revision history for this message
Cutaso Katama (cutasokatama) wrote :

The workaround suggested in the original post on the curl website is not working.

Has anyone else got it to work?

Revision history for this message
Sergey Borodavkin (bocmanpy) wrote :

Same issue
Seems to fixed in curl (7.81.0-1ubuntu1.13).

Changed in curl (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.