{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/2","id":30495802,"html_url":"https://github.com/nutshellcrm/nutshell-api-php/pull/2","diff_url":"https://github.com/nutshellcrm/nutshell-api-php/pull/2.diff","patch_url":"https://github.com/nutshellcrm/nutshell-api-php/pull/2.patch","issue_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/2","number":2,"state":"open","locked":false,"title":"Remove sha1 chain - should default to system roots","user":{"login":"flav","id":181873,"avatar_url":"https://avatars.githubusercontent.com/u/181873?v=3","gravatar_id":"","url":"https://api.github.com/users/flav","html_url":"https://github.com/flav","followers_url":"https://api.github.com/users/flav/followers","following_url":"https://api.github.com/users/flav/following{/other_user}","gists_url":"https://api.github.com/users/flav/gists{/gist_id}","starred_url":"https://api.github.com/users/flav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flav/subscriptions","organizations_url":"https://api.github.com/users/flav/orgs","repos_url":"https://api.github.com/users/flav/repos","events_url":"https://api.github.com/users/flav/events{/privacy}","received_events_url":"https://api.github.com/users/flav/received_events","type":"User","site_admin":false},"body":"There are two valid chains to follow for the Nutshell certificate. One is signed by “RapidSSL SHA256 CA - G3” root, and one is signed by “Equifax Secure Certificate Authority”. The Equifax chain has a SHA1 signature algorithm in the chain. This is now bad practice and has been deprecated, however, we shipped this api with the “Equifax Secure Certificate Authority” as the CA which is breaking installs. This commit removes this second chain and relies on the (OS) built in root certificates which should contain the “RapidSSL SHA256 CA - G3” root.\r\n\r\n- https://community.qualys.com/blogs/securitylabs/2014/09/09/sha1-deprecation-what-you-need-to-know\r\n- http://sha1affected.com/\r\n\r\n![sha2_chain](https://cloud.githubusercontent.com/assets/181873/6491318/6532f6da-c27a-11e4-98ab-777bb8078e32.png)\r\n\r\n![sha1_chain](https://cloud.githubusercontent.com/assets/181873/6491322/68d32030-c27a-11e4-9735-be0152195bce.png)\r\n\r\n","created_at":"2015-03-04T19:26:19Z","updated_at":"2015-03-04T19:26:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/2/commits","review_comments_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/2/comments","review_comment_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/2/comments","statuses_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/statuses/76dd09cda5a3db763ebf93de90177adc48f2d0d2","head":{"label":"nutshellcrm:deprecate-sha1-chain","ref":"deprecate-sha1-chain","sha":"76dd09cda5a3db763ebf93de90177adc48f2d0d2","user":{"login":"nutshellcrm","id":270389,"avatar_url":"https://avatars.githubusercontent.com/u/270389?v=3","gravatar_id":"","url":"https://api.github.com/users/nutshellcrm","html_url":"https://github.com/nutshellcrm","followers_url":"https://api.github.com/users/nutshellcrm/followers","following_url":"https://api.github.com/users/nutshellcrm/following{/other_user}","gists_url":"https://api.github.com/users/nutshellcrm/gists{/gist_id}","starred_url":"https://api.github.com/users/nutshellcrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutshellcrm/subscriptions","organizations_url":"https://api.github.com/users/nutshellcrm/orgs","repos_url":"https://api.github.com/users/nutshellcrm/repos","events_url":"https://api.github.com/users/nutshellcrm/events{/privacy}","received_events_url":"https://api.github.com/users/nutshellcrm/received_events","type":"Organization","site_admin":false},"repo":{"id":1432440,"name":"nutshell-api-php","full_name":"nutshellcrm/nutshell-api-php","owner":{"login":"nutshellcrm","id":270389,"avatar_url":"https://avatars.githubusercontent.com/u/270389?v=3","gravatar_id":"","url":"https://api.github.com/users/nutshellcrm","html_url":"https://github.com/nutshellcrm","followers_url":"https://api.github.com/users/nutshellcrm/followers","following_url":"https://api.github.com/users/nutshellcrm/following{/other_user}","gists_url":"https://api.github.com/users/nutshellcrm/gists{/gist_id}","starred_url":"https://api.github.com/users/nutshellcrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutshellcrm/subscriptions","organizations_url":"https://api.github.com/users/nutshellcrm/orgs","repos_url":"https://api.github.com/users/nutshellcrm/repos","events_url":"https://api.github.com/users/nutshellcrm/events{/privacy}","received_events_url":"https://api.github.com/users/nutshellcrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nutshellcrm/nutshell-api-php","description":"A lightweight JSON-RPC + CURL wrapper to access Nutshell CRM's API.","fork":false,"url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php","forks_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/forks","keys_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/teams","hooks_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/hooks","issue_events_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/events{/number}","events_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/events","assignees_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/assignees{/user}","branches_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/branches{/branch}","tags_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/tags","blobs_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/statuses/{sha}","languages_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/languages","stargazers_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/stargazers","contributors_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/contributors","subscribers_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/subscribers","subscription_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/subscription","commits_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/contents/{+path}","compare_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/merges","archive_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/downloads","issues_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues{/number}","pulls_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls{/number}","milestones_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/milestones{/number}","notifications_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/labels{/name}","releases_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/releases{/id}","created_at":"2011-03-02T21:14:00Z","updated_at":"2015-02-23T18:32:30Z","pushed_at":"2015-03-04T19:25:20Z","git_url":"git://github.com/nutshellcrm/nutshell-api-php.git","ssh_url":"git@github.com:nutshellcrm/nutshell-api-php.git","clone_url":"https://github.com/nutshellcrm/nutshell-api-php.git","svn_url":"https://github.com/nutshellcrm/nutshell-api-php","homepage":"http://www.nutshell.com/api/","size":104,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":9,"default_branch":"master"}},"base":{"label":"nutshellcrm:master","ref":"master","sha":"996d2d79afef5376c123843eeae32de044966195","user":{"login":"nutshellcrm","id":270389,"avatar_url":"https://avatars.githubusercontent.com/u/270389?v=3","gravatar_id":"","url":"https://api.github.com/users/nutshellcrm","html_url":"https://github.com/nutshellcrm","followers_url":"https://api.github.com/users/nutshellcrm/followers","following_url":"https://api.github.com/users/nutshellcrm/following{/other_user}","gists_url":"https://api.github.com/users/nutshellcrm/gists{/gist_id}","starred_url":"https://api.github.com/users/nutshellcrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutshellcrm/subscriptions","organizations_url":"https://api.github.com/users/nutshellcrm/orgs","repos_url":"https://api.github.com/users/nutshellcrm/repos","events_url":"https://api.github.com/users/nutshellcrm/events{/privacy}","received_events_url":"https://api.github.com/users/nutshellcrm/received_events","type":"Organization","site_admin":false},"repo":{"id":1432440,"name":"nutshell-api-php","full_name":"nutshellcrm/nutshell-api-php","owner":{"login":"nutshellcrm","id":270389,"avatar_url":"https://avatars.githubusercontent.com/u/270389?v=3","gravatar_id":"","url":"https://api.github.com/users/nutshellcrm","html_url":"https://github.com/nutshellcrm","followers_url":"https://api.github.com/users/nutshellcrm/followers","following_url":"https://api.github.com/users/nutshellcrm/following{/other_user}","gists_url":"https://api.github.com/users/nutshellcrm/gists{/gist_id}","starred_url":"https://api.github.com/users/nutshellcrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutshellcrm/subscriptions","organizations_url":"https://api.github.com/users/nutshellcrm/orgs","repos_url":"https://api.github.com/users/nutshellcrm/repos","events_url":"https://api.github.com/users/nutshellcrm/events{/privacy}","received_events_url":"https://api.github.com/users/nutshellcrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nutshellcrm/nutshell-api-php","description":"A lightweight JSON-RPC + CURL wrapper to access Nutshell CRM's API.","fork":false,"url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php","forks_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/forks","keys_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/teams","hooks_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/hooks","issue_events_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/events{/number}","events_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/events","assignees_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/assignees{/user}","branches_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/branches{/branch}","tags_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/tags","blobs_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/statuses/{sha}","languages_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/languages","stargazers_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/stargazers","contributors_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/contributors","subscribers_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/subscribers","subscription_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/subscription","commits_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/contents/{+path}","compare_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/merges","archive_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/downloads","issues_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues{/number}","pulls_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls{/number}","milestones_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/milestones{/number}","notifications_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/labels{/name}","releases_url":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/releases{/id}","created_at":"2011-03-02T21:14:00Z","updated_at":"2015-02-23T18:32:30Z","pushed_at":"2015-03-04T19:25:20Z","git_url":"git://github.com/nutshellcrm/nutshell-api-php.git","ssh_url":"git@github.com:nutshellcrm/nutshell-api-php.git","clone_url":"https://github.com/nutshellcrm/nutshell-api-php.git","svn_url":"https://github.com/nutshellcrm/nutshell-api-php","homepage":"http://www.nutshell.com/api/","size":104,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/2"},"html":{"href":"https://github.com/nutshellcrm/nutshell-api-php/pull/2"},"issue":{"href":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/2"},"comments":{"href":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/nutshellcrm/nutshell-api-php/statuses/76dd09cda5a3db763ebf93de90177adc48f2d0d2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":20,"changed_files":2}}