Skip to content

bug: AppImage (glibc 2.28 base): HTTPS requests fail on non-RHEL hosts because the bundled libcurl looks for /etc/pki/tls/certs/ca-bundle.crt #1085

Closed

Description

@rdoupe

Summary

The AppImage built on master since #927/#1047 bundles libcurl from AlmaLinux 8. That libcurl has the RHEL CA bundle path built in: /etc/pki/tls/certs/ca-bundle.crt. On hosts that keep their CA bundle somewhere else (Arch, Debian/Ubuntu: /etc/ssl/certs/ca-certificates.crt), every HTTPS request from OBS fails with error setting certificate verify locations. The update check is one such request.

The released 0.1.0-beta.20261014 AppImage (Ubuntu base) doesn't have this problem.

How it was seen

AppImage built from master (2dae736) the way the workflow builds it (build.py --base manylinux), run extracted on an Arch host: the update check's HTTPS request fails with the error above.

Expected

HTTPS works on the common distros, and certificate verification stays on.

Possible fixes (not tested)

  • At startup, point libcurl at the first CA bundle that exists from the usual list (/etc/ssl/certs/ca-certificates.crt, /etc/pki/tls/certs/ca-bundle.crt, /etc/ssl/ca-bundle.pem, /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem), for example through CURLOPT_CAINFO or CURL_CA_BUNDLE in AppRun.
  • Or build the bundled libcurl with --with-ca-fallback / --without-ca-bundle, so that it probes the paths itself.

Not claiming this one.

Activity

  1. zackees commented on Oct 17, 2026

    @zackees
    Member

    Claiming. Note on the suggested fixes: libcurl itself never reads CURL_CA_BUNDLE (only the curl tool does), so an AppRun variable alone won't reach OBS's five libcurl users (RemoteTextThread, file-updater, obs-webrtc WHIP, two rtmp-services plugins). Plan: pick the approach that works for every libcurl handle (built-in CA fallback in the bundled libcurl + SSL_CERT_FILE from AppRun, or not bundling libcurl), verify it on Debian/Ubuntu- and Arch-layout hosts, and extend test-appimage.sh so an HTTPS request against a local TLS server whose CA sits only at the Debian path fails without the change (#426 rule).

  2. added
    claimed
    on Oct 17, 2026
  3. added a commit that references this issue on Oct 17, 2026
    09115d1
  4. rdoupe commented on Oct 17, 2026

    @rdoupe
    CollaboratorAuthor

    Ignore my earlier offer here: #1234 had already fixed this before I posted. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions