设备环境:物理机
BUG现象:root@nas:/vol1/1000/配置/astrbot/AstrBot# echo -n | openssl s_client -connect github.com:443 -showcerts | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /usr/local/share/ca-certificates/fnos.crt
depth=0 O = fnOS, CN = fnOS
verify return:1
DONE
root@nas:/vol1/1000/配置/astrbot/AstrBot# uv run main.py
warning: VIRTUAL_ENV=/root/pipx-venv
does not match the project environment path .venv
and will be ignored; use --active
to target the active environment instead
error: Request failed after 3 retries
Caused by: Failed to download https://github.com/astral-sh/python-build-standalone/releases/download/20250918/cpython-3.10.18%2B20250918-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
Caused by: error sending request for url (https://github.com/astral-sh/python-build-standalone/releases/download/20250918/cpython-3.10.18%2B20250918-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz)
Caused by: client error (Connect)
Caused by: invalid peer certificate: UnknownIssuer
尝试访问github会因证书原因访问不上,然后我用openssl看了下,发现是fn自签的,导致github无法正常下载