[!] Couldn't determine repo type for URL: https://git.xxxx.com/xxxx/xxxx.git
: SSL_connect returned=1 errno=0 peeraddr=121.5.97.97:443 state=error: certificate verify failed (unable to get local issuer certificate)
运行命令brew info openssl
查看到根证书目录之后,一般是/opt/homebrew/etc/openssl@3/certs
进入这个目录, cd /opt/homebrew/etc/openssl@3/certs
然后执行
wget https://www.xxxx.com/xxx/ShunLianRootCA.pem
wget https://www.xxxx.com/xxx/ShunLianRootCA-ECC.pem
刷新根证书
/opt/homebrew/opt/openssl@3/bin/c_rehash