問題の調査
phantomjs --debug=yes test.js
2015-08-25T16:47:30 [DEBUG] Network - SSL Error: "The issuer certificate of a locally looked up certificate could not be found"
2015-08-25T16:47:30 [DEBUG] Network - SSL Error: "The root CA certificate is not trusted for this purpose"
SSLエラー無効
phantomjs --web-security=no --ignore-ssl-errors=yes test.js