Skip to content

Crash at startup: FileNotFoundError for SSL certificates on openSUSE Tumbleweed #4

@fabiosirna

Description

@fabiosirna

Hi,
When running your AppImage on openSUSE Tumbleweed, the app crashes at startup with the following error:

FileNotFoundError: [Errno 2] No such file or directory
in ssl.py: create_default_context / context.load_verify_locations(cafile, capath, cadata)

It seems the AppImage environment is strictly looking for the Debian/Ubuntu certificate path (/etc/ssl/certs/ca-certificates.crt), which does not exist by default on openSUSE (Tumbleweed uses /etc/ssl/ca-bundle.pem or /var/lib/ca-certificates/ca-bundle.pem).

As a temporary workaround, I have to manually create a symlink on my system:
sudo ln -s /etc/ssl/ca-bundle.pem /etc/ssl/certs/ca-certificates.crt

Could you please update the AppImage build configuration to also check for standard SUSE/Fedora/Arch certificate paths? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions