Bug 2438170

Summary: OBJ_find_sigid_algs() returns NID_undef for ML-DSA certificate
Product: [Fedora] Fedora Reporter: Rob Crittenden <rcritten>
Component: curlAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: crypto-team, dbelyavs, jamacku, jmigacz, kdudka, lzaoral, msekleta, mspacek, mturk, paul, pzacik, shebburn, ssorce, suraj.ghimire7, tm, vmihalko
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: curl-8.18.0-6.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-04-25 01:41:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test cert none

Description Rob Crittenden 2026-02-09 18:51:17 UTC
Seen in program that uses libcurl to communicate over https. The TLS handshake works but when libcurl tries to validate the certificate over OCSP it fails with a NID_undef digest algorithm. FWIW I'm using libcurl in certmonger and this prevents certmonger from communicating with a CA because OCSP always fails. I hacked around this temporarily to always return CURLE_OK for this case.

The curl code in question starts at https://github.com/curl/curl/blob/master/lib/vtls/openssl.c#L5259

I will attach a standalone reproducer and certificate.

openssl-3.5.5-1.fc44.x86_64

Reproducible: Always

Comment 2 Rob Crittenden 2026-02-09 18:52:26 UTC
Created attachment 2128805 [details]
test cert

Comment 3 Simo Sorce 2026-02-09 18:57:02 UTC
This is a bug in libcurl.

OpenSSL does not use or support NIDs for new algorithms.

Application relying on NIDs need to transition to new OpenSSL APIs that rely on names instead.

This is fundamentally unfixable in OpenSSL.

Reassigning to libcurl

Comment 4 Jan Macku 2026-03-30 07:45:32 UTC
*** Bug 2450393 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2026-03-30 12:26:25 UTC
FEDORA-2026-f3e5776cdf (curl-8.18.0-5.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f3e5776cdf

Comment 6 Fedora Update System 2026-03-31 01:56:51 UTC
FEDORA-2026-f3e5776cdf has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f3e5776cdf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f3e5776cdf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-04-25 01:41:25 UTC
FEDORA-2026-f13d888b0f (curl-8.18.0-6.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.