# file /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt: symbolic link to /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
# git clone https://gitlab.com/qemu-project/qemu.git Cloning into 'qemu'... fatal: unable to access 'https://gitlab.com/qemu-project/qemu.git/': error adding trust anchors from file: /etc/pki/tls/certs/ca-bundle.crt This will cause curl and git not be able to download https urls, and will let git build fail to produce a usable git. # git clone https://gitlab.com/qemu-project/qemu.git Cloning into 'qemu'... warning: templates not found in /cygdrive/e/Note/Tool/git-cygwin-clang-bfd-release-install/share/git-core/templates git: 'remote-https' is not a git command. See 'git --help'. fatal: remote helper 'https' aborted session Temporary fix(link to a previous working tls-ca-bundle.pem) : https://github.com/xu-chiheng/Note/blob/main/.bashrc.d/quirk.sh#L125 fix_cygwin_tls_certs() { local source=/etc/pki/tls/certs/ca-bundle.crt local target=~/Util/tls-ca-bundle.pem if ! { [ -e "${source}" ] && [ "$(readlink -f "${source}")" = "$(readlink -f "${target}")" ] ;}; then rm -rf "${source}" \ && ln -s "${target}" "${source}" fi } -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

