Debian系统执行curl命令错误

错误

root@cn1:~# ./push.sh
curl: (77) error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs

解决方法

apt update
apt purge ca-certificates
apt install ca-certificates -y

推荐阅读