{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/wcf/pulls/comments/38950482","id":38950482,"diff_hunk":"@@ -0,0 +1,73 @@\n+Certificate generation\n+=======================\n+\n+This file describes how the certificates were created\n+and how they are used.  Basic steps are at:\n+    https://msdn.microsoft.com/en-US/library/Ff648498.aspx\n+\n+\n+The root certificate authority stored in the \"Root\" store\n+----------------------------------------------------------\n+This is a certificate authority used to create the self-signed certificate.\n+It was created with these commands from an elevated prompt: \n+\n+Template:\n+\n+```\n+    makecert -n \"CN=<<CanonicalName>>\" -pe -r -sky exchange -cy authority -sk PrivateKey -eku <<Enhanced key usages>> -ss <<Subject cert store>> -sr <<Subject cert store location>> -m <<months to expiry>> <<filename>> \n+```\n+\n+Actual:\n+\n+```\n+    makecert -n \"CN=DO_NOT_TRUST_WcfBridgeRootCA, O=DO_NOT_TRUST, OU=Created by https://github.com/dotnet/wcf\" -pe -r -sky exchange -cy authority -sk PrivateKey -eku 1.3.6.1.5.5.7.3.2,1.3.6.1.5.5.7.3.1 -ss Root -sr LocalMachine -m 2 WcfBridge_RootCA.cer\n+```\n+\n+The certificate gets placed into the *Local Machine*'s *Root Certificate* store, as well as in the current directory's *WcfBridge_RootCA.cer*. \n+\n+> *Optional:* If it's necessary to export the private key, you can do it using certmgr.msc:\n+> ","path":"src/System.Private.ServiceModel/tools/test/SelfHostWcfService/Certificates/README.md","position":29,"original_position":29,"commit_id":"9a75547412806370a103ab3b9058909a867093ef","original_commit_id":"9a75547412806370a103ab3b9058909a867093ef","user":{"login":"iamjasonp","id":1616847,"avatar_url":"https://avatars.githubusercontent.com/u/1616847?v=3","gravatar_id":"","url":"https://api.github.com/users/iamjasonp","html_url":"https://github.com/iamjasonp","followers_url":"https://api.github.com/users/iamjasonp/followers","following_url":"https://api.github.com/users/iamjasonp/following{/other_user}","gists_url":"https://api.github.com/users/iamjasonp/gists{/gist_id}","starred_url":"https://api.github.com/users/iamjasonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamjasonp/subscriptions","organizations_url":"https://api.github.com/users/iamjasonp/orgs","repos_url":"https://api.github.com/users/iamjasonp/repos","events_url":"https://api.github.com/users/iamjasonp/events{/privacy}","received_events_url":"https://api.github.com/users/iamjasonp/received_events","type":"User","site_admin":false},"body":"Ok, I'll get rid of the \"optional\" steps listed. ","created_at":"2015-09-08T16:56:45Z","updated_at":"2015-09-08T16:56:45Z","html_url":"https://github.com/dotnet/wcf/pull/316#discussion_r38950482","pull_request_url":"https://api.github.com/repos/dotnet/wcf/pulls/316","_links":{"self":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/comments/38950482"},"html":{"href":"https://github.com/dotnet/wcf/pull/316#discussion_r38950482"},"pull_request":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/316"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/wcf/pulls/316","id":44205239,"html_url":"https://github.com/dotnet/wcf/pull/316","diff_url":"https://github.com/dotnet/wcf/pull/316.diff","patch_url":"https://github.com/dotnet/wcf/pull/316.patch","issue_url":"https://api.github.com/repos/dotnet/wcf/issues/316","number":316,"state":"open","locked":false,"title":"Change certificates to support net.tcp scenarios","user":{"login":"iamjasonp","id":1616847,"avatar_url":"https://avatars.githubusercontent.com/u/1616847?v=3","gravatar_id":"","url":"https://api.github.com/users/iamjasonp","html_url":"https://github.com/iamjasonp","followers_url":"https://api.github.com/users/iamjasonp/followers","following_url":"https://api.github.com/users/iamjasonp/following{/other_user}","gists_url":"https://api.github.com/users/iamjasonp/gists{/gist_id}","starred_url":"https://api.github.com/users/iamjasonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamjasonp/subscriptions","organizations_url":"https://api.github.com/users/iamjasonp/orgs","repos_url":"https://api.github.com/users/iamjasonp/repos","events_url":"https://api.github.com/users/iamjasonp/events{/privacy}","received_events_url":"https://api.github.com/users/iamjasonp/received_events","type":"User","site_admin":false},"body":"Renamed cert private keys/public cert files to be less confusing\r\nUpdated README.txt to README.md\r\n\r\nThis change is to make the certs play better with the net.tcp transport security tests. Previously, the certificates used ran into an issue with the net.tcp test - an exception was thrown stating that the key was not usable for key exchange.","created_at":"2015-09-04T10:53:22Z","updated_at":"2015-09-08T16:56:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b6d2a6c350689db403ae8d5f7732759c0ee3928","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/wcf/pulls/316/commits","review_comments_url":"https://api.github.com/repos/dotnet/wcf/pulls/316/comments","review_comment_url":"https://api.github.com/repos/dotnet/wcf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/wcf/issues/316/comments","statuses_url":"https://api.github.com/repos/dotnet/wcf/statuses/9a75547412806370a103ab3b9058909a867093ef","head":{"label":"iamjasonp:client-cert","ref":"client-cert","sha":"9a75547412806370a103ab3b9058909a867093ef","user":{"login":"iamjasonp","id":1616847,"avatar_url":"https://avatars.githubusercontent.com/u/1616847?v=3","gravatar_id":"","url":"https://api.github.com/users/iamjasonp","html_url":"https://github.com/iamjasonp","followers_url":"https://api.github.com/users/iamjasonp/followers","following_url":"https://api.github.com/users/iamjasonp/following{/other_user}","gists_url":"https://api.github.com/users/iamjasonp/gists{/gist_id}","starred_url":"https://api.github.com/users/iamjasonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamjasonp/subscriptions","organizations_url":"https://api.github.com/users/iamjasonp/orgs","repos_url":"https://api.github.com/users/iamjasonp/repos","events_url":"https://api.github.com/users/iamjasonp/events{/privacy}","received_events_url":"https://api.github.com/users/iamjasonp/received_events","type":"User","site_admin":false},"repo":{"id":35954677,"name":"wcf","full_name":"iamjasonp/wcf","owner":{"login":"iamjasonp","id":1616847,"avatar_url":"https://avatars.githubusercontent.com/u/1616847?v=3","gravatar_id":"","url":"https://api.github.com/users/iamjasonp","html_url":"https://github.com/iamjasonp","followers_url":"https://api.github.com/users/iamjasonp/followers","following_url":"https://api.github.com/users/iamjasonp/following{/other_user}","gists_url":"https://api.github.com/users/iamjasonp/gists{/gist_id}","starred_url":"https://api.github.com/users/iamjasonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamjasonp/subscriptions","organizations_url":"https://api.github.com/users/iamjasonp/orgs","repos_url":"https://api.github.com/users/iamjasonp/repos","events_url":"https://api.github.com/users/iamjasonp/events{/privacy}","received_events_url":"https://api.github.com/users/iamjasonp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamjasonp/wcf","description":"This repo contains the client-oriented WCF libraries that enable applications built on .NET Core to communicate with WCF services.","fork":true,"url":"https://api.github.com/repos/iamjasonp/wcf","forks_url":"https://api.github.com/repos/iamjasonp/wcf/forks","keys_url":"https://api.github.com/repos/iamjasonp/wcf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamjasonp/wcf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamjasonp/wcf/teams","hooks_url":"https://api.github.com/repos/iamjasonp/wcf/hooks","issue_events_url":"https://api.github.com/repos/iamjasonp/wcf/issues/events{/number}","events_url":"https://api.github.com/repos/iamjasonp/wcf/events","assignees_url":"https://api.github.com/repos/iamjasonp/wcf/assignees{/user}","branches_url":"https://api.github.com/repos/iamjasonp/wcf/branches{/branch}","tags_url":"https://api.github.com/repos/iamjasonp/wcf/tags","blobs_url":"https://api.github.com/repos/iamjasonp/wcf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamjasonp/wcf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamjasonp/wcf/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamjasonp/wcf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamjasonp/wcf/statuses/{sha}","languages_url":"https://api.github.com/repos/iamjasonp/wcf/languages","stargazers_url":"https://api.github.com/repos/iamjasonp/wcf/stargazers","contributors_url":"https://api.github.com/repos/iamjasonp/wcf/contributors","subscribers_url":"https://api.github.com/repos/iamjasonp/wcf/subscribers","subscription_url":"https://api.github.com/repos/iamjasonp/wcf/subscription","commits_url":"https://api.github.com/repos/iamjasonp/wcf/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamjasonp/wcf/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamjasonp/wcf/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamjasonp/wcf/issues/comments{/number}","contents_url":"https://api.github.com/repos/iamjasonp/wcf/contents/{+path}","compare_url":"https://api.github.com/repos/iamjasonp/wcf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamjasonp/wcf/merges","archive_url":"https://api.github.com/repos/iamjasonp/wcf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamjasonp/wcf/downloads","issues_url":"https://api.github.com/repos/iamjasonp/wcf/issues{/number}","pulls_url":"https://api.github.com/repos/iamjasonp/wcf/pulls{/number}","milestones_url":"https://api.github.com/repos/iamjasonp/wcf/milestones{/number}","notifications_url":"https://api.github.com/repos/iamjasonp/wcf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamjasonp/wcf/labels{/name}","releases_url":"https://api.github.com/repos/iamjasonp/wcf/releases{/id}","created_at":"2015-05-20T14:54:42Z","updated_at":"2015-05-20T14:54:44Z","pushed_at":"2015-09-08T16:36:30Z","git_url":"git://github.com/iamjasonp/wcf.git","ssh_url":"git@github.com:iamjasonp/wcf.git","clone_url":"https://github.com/iamjasonp/wcf.git","svn_url":"https://github.com/iamjasonp/wcf","homepage":"","size":2567,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"97b018b035f8865436faf01293390d68424bb60d","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":35562993,"name":"wcf","full_name":"dotnet/wcf","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/wcf","description":"This repo contains the client-oriented WCF libraries that enable applications built on .NET Core to communicate with WCF services.","fork":false,"url":"https://api.github.com/repos/dotnet/wcf","forks_url":"https://api.github.com/repos/dotnet/wcf/forks","keys_url":"https://api.github.com/repos/dotnet/wcf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/wcf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/wcf/teams","hooks_url":"https://api.github.com/repos/dotnet/wcf/hooks","issue_events_url":"https://api.github.com/repos/dotnet/wcf/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/wcf/events","assignees_url":"https://api.github.com/repos/dotnet/wcf/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/wcf/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/wcf/tags","blobs_url":"https://api.github.com/repos/dotnet/wcf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/wcf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/wcf/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/wcf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/wcf/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/wcf/languages","stargazers_url":"https://api.github.com/repos/dotnet/wcf/stargazers","contributors_url":"https://api.github.com/repos/dotnet/wcf/contributors","subscribers_url":"https://api.github.com/repos/dotnet/wcf/subscribers","subscription_url":"https://api.github.com/repos/dotnet/wcf/subscription","commits_url":"https://api.github.com/repos/dotnet/wcf/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/wcf/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/wcf/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/wcf/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/wcf/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/wcf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/wcf/merges","archive_url":"https://api.github.com/repos/dotnet/wcf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/wcf/downloads","issues_url":"https://api.github.com/repos/dotnet/wcf/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/wcf/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/wcf/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/wcf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/wcf/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/wcf/releases{/id}","created_at":"2015-05-13T17:17:03Z","updated_at":"2015-09-08T15:42:01Z","pushed_at":"2015-09-08T16:55:05Z","git_url":"git://github.com/dotnet/wcf.git","ssh_url":"git@github.com:dotnet/wcf.git","clone_url":"https://github.com/dotnet/wcf.git","svn_url":"https://github.com/dotnet/wcf","homepage":"","size":4698,"stargazers_count":504,"watchers_count":504,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":144,"mirror_url":null,"open_issues_count":85,"forks":144,"open_issues":85,"watchers":504,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/316"},"html":{"href":"https://github.com/dotnet/wcf/pull/316"},"issue":{"href":"https://api.github.com/repos/dotnet/wcf/issues/316"},"comments":{"href":"https://api.github.com/repos/dotnet/wcf/issues/316/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/316/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/316/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/wcf/statuses/9a75547412806370a103ab3b9058909a867093ef"}}}}