Ubuntu GoAgent: "the site security certificate is not trusted"解决办法

今天在Ubuntu下面安装GoAgent遇到出现“the site”s security certificate is not trusted”的问题,根据提示发现是证书错误造成的,解决方法如下。

1)安装libnss3-tools

1
sudo apt-get install libnss3-tools

2)导入证书

1
certutil -d sql:$HOME/.pki/nssdb -A -t TC -n "goagent" -i your_goagent_directory/local/CA.crt

参考资料:
http://nigelzeng.iteye.com/blog/1748283