The certificate of ‘raw.githubusercontent.com’ is not trusted的解决办法

今天甲骨文选择Ubuntu16.04后,用萌咖的dd脚本dd成Debian9后,安装探针使用

1
wget https://raw.githubusercontent.com/CokeMine/ServerStatus-Hotaru/master/status.sh

出现

1
2
ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted. 
ERROR: The certificate of ‘raw.githubusercontent.com’ hasn't got a known issuer.

解决方法是

1
sudo apt-get install ca-certificates

或者

1
sudo apt-get install ssl-cert