If you want to use Goagent, and you are using Ubuntu operating system now. If your using OS X operating system, please refer to Installing GoAgent on OS X.
Try these steps:
Get Goagent
Download GoAgent 3.2.3.zip from Google Drive.
Filename : GoAgent 3.2.3.zip Version : 3.2.3 MD5 : 8e7a9e7472843a731eb2675598cb4627 SHA : 4d6a9d8aae96ea666778c011f90d90e4711c967c
Install Goagent(make sure you have installed python on your Ubuntu)
Install gevent:
$ sudo apt-get install python-gevent
Upload your appid:
$ python /path/to/goagent/server/uploader.zip
If you don't have it, please check this Install Guide page: code.google.com/p/goagent/wiki/InstallGuide
Add extension on your browsers
Add Proxy SwitchyOmega addon in Chrome or FoxyProxy in Firefox.
Slove "the site's security certificate is not trusted" error when try to visit HTTPS site
$ sudo apt-get install libnss3-tools
Importing CA to system
$ certutil -d sql:~/.pki/nssdb -A -t TC -n "goagent" -i /path/to/goagent/local/CA.crt
Run GoAgent just use python command to start it:
$ python /path/to/goagent/local/proxy.py
Do everything you want :)
In the step 4:
I encountered an issue so I used "strace" to diagnostic ,and I got the following messages:
```
access("~/.pki/nssdb/cert9.db", F_OK) = -1 ENOENT (No such file or directory)
getcwd("/home/wen", 512) = 10
stat("/home/wen/~/.pki/nssdb/cert9.db", 0x7fffb035e150) = -1 ENOENT (No such file or directory)
open("/home/wen/~/.pki/nssdb/cert9.db", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = -1 ENOENT (No such file or directory)
open("/home/wen/~/.pki/nssdb/cert9.db", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
brk(0x1b9c000) = 0x1b9c000
brk(0x1b85000) = 0x1b85000
brk(0x1b69000) = 0x1b69000
write(2, "certutil: ", 10certutil: ) = 10
write(2, "function failed", 15function failed) = 15
write(2, ": SEC_ERROR_BAD_DATABASE", 24: SEC_ERROR_BAD_DATABASE) = 24
write(2, ": security library: bad database"..., 34: security library: bad database
```
It seemed that I should use the pull path as the parameters for both of that '~/.pki/nssdb' and "CA.crt".