设置ubuntu信任自签证书(mitmproxy,charls,...)

方法1:

#转换格式
 sudo openssl x509 -outform der -in ~/Downloads/mitmproxy-ca-cert.pem  -out mitmproxy-ca.crt
sudo cp mitmproxy-ca-cert /usr/share/ca-certificates/mozilla/mitmproxy-ca.crt 
 sudo dpkg-reconfigure ca-certificates [选中新添加的证书点确定]
或
sudo update-ca-certificates
posted @ 2022-10-30 03:36  lvusyy  阅读(572)  评论(0编辑  收藏  举报