{"action":"created","issue":{"url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/14","repository_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore","labels_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/14/comments","events_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/14/events","html_url":"https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/14","id":167138869,"number":14,"title":"\"An error occurred attempting to determine the process id of dotnet.exe which is hosting your application.\"","user":{"login":"gsacavdm","id":3582236,"avatar_url":"https://avatars.githubusercontent.com/u/3582236?v=3","gravatar_id":"","url":"https://api.github.com/users/gsacavdm","html_url":"https://github.com/gsacavdm","followers_url":"https://api.github.com/users/gsacavdm/followers","following_url":"https://api.github.com/users/gsacavdm/following{/other_user}","gists_url":"https://api.github.com/users/gsacavdm/gists{/gist_id}","starred_url":"https://api.github.com/users/gsacavdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsacavdm/subscriptions","organizations_url":"https://api.github.com/users/gsacavdm/orgs","repos_url":"https://api.github.com/users/gsacavdm/repos","events_url":"https://api.github.com/users/gsacavdm/events{/privacy}","received_events_url":"https://api.github.com/users/gsacavdm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-22T21:46:45Z","updated_at":"2016-07-22T21:48:22Z","closed_at":null,"body":"Trying to run this application I get the following error:\r\n> \"An error occurred attempting to determine the process id of dotnet.exe which is hosting your application. One or more errors occurred.\"\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/comments/234665345","html_url":"https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/14#issuecomment-234665345","issue_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/issues/14","id":234665345,"user":{"login":"gsacavdm","id":3582236,"avatar_url":"https://avatars.githubusercontent.com/u/3582236?v=3","gravatar_id":"","url":"https://api.github.com/users/gsacavdm","html_url":"https://github.com/gsacavdm","followers_url":"https://api.github.com/users/gsacavdm/followers","following_url":"https://api.github.com/users/gsacavdm/following{/other_user}","gists_url":"https://api.github.com/users/gsacavdm/gists{/gist_id}","starred_url":"https://api.github.com/users/gsacavdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsacavdm/subscriptions","organizations_url":"https://api.github.com/users/gsacavdm/orgs","repos_url":"https://api.github.com/users/gsacavdm/repos","events_url":"https://api.github.com/users/gsacavdm/events{/privacy}","received_events_url":"https://api.github.com/users/gsacavdm/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T21:48:22Z","updated_at":"2016-07-22T21:48:22Z","body":"Turns out there are some quirks with running ASP .Net core in VS with https.\r\nTo fix this issue:\r\n1.\tRun the Microsoft Management Console (“mmc”)\r\n2.\tFile > Add/Remove Snapin\r\n3.\tSelect Certificates, click on Add and select My User Account\r\n4.\tSelect Certificates again, click on Add, select Computer Account and leave the default Local account\r\n5.\tBack in the management console, expand Console Root > Certificates – Current User > Trusted Root Certificate Authorities > Certificates\r\n6.\tFind and delete one called “localhost”\r\n7.\tNow expand Console Root > Certificates (Local Computer) > Personal > Certificates\r\n8.\tFind an delete one called “localhost”\r\n9.\tClose the management console\r\n10.\tOpen “Programs and Features”\r\n11.\tFind “IIS  10.0 Express” and click on Repair\r\n12.\tNow go back to VS and launch the project without debugging (Debug menu > Start without Debugging or Ctrl + F5)\r\n13.\tIt should prompt you if you want to trust a certificate, click yes\r\n14.\tAfter that, the application should launch correctly and you should be able to lunch it in Debug mode going forward.\r\n"}}
{"actor":{"display_login":"gsacavdm"}}