Skip to content

Can't connect to github.com with ca-certificates certificate. #5476

Description

@superfury

Description / Steps to reproduce the issue

When I try to connect to github.com repositories, I get the following (example below during vitasdk installation, which runs through a github repository):

--2025-06-25 19:01:00--  https://github.com/vitasdk/vita-headers/raw/master/.travis.d/last_built_toolchain.py
Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt'
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
ERROR: The certificate of ‘github.com’ is not trusted.
ERROR: The certificate of ‘github.com’ doesn't have a known issuer.

Apparently this /usr/ssl/certs/ca-bundle.crt file is in the ca-certificates package, from what I can gather from pacman and the ca-certificates (sub)repositories and dependencies. This is preventing me from installing anything from github repositories, much less connect to any of those (probably git etc. as wel, as it's a shared certificate).

This happens when I use the official installation instructions found at vitasdk.org (under Installing). Performed under MSYS2 instead of native linux or WSL of course.

Expected behavior

Connecting to the git repository and being able to pull the files it needs from it.

Actual behavior

ERROR: The certificate of ‘github.com’ is not trusted.
ERROR: The certificate of ‘github.com’ doesn't have a known issuer.

Verification

Windows Version

MINGW64_NT-10.0-19045

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions