{"push_id":2347299641,"size":2,"distinct_size":2,"ref":"refs/heads/aspnetcore-https-support","head":"52bfd99e42abfe30ad34545ae3e002f4d6976e47","before":"5d218564666c58557afa436cc7c0559e3776a6df","commits":[{"sha":"9b53d137c23cf2064f346037cd3a29d0b2046ccc","author":{"name":"Matt Ward","email":"0f96a0c155dc93aac0c384f68a86d9ba7ee0f7f7@microsoft.com"},"message":"[AspNetCore] Support trusting HTTPS development certificate\n\nOn running an ASP.NET Core 2.1 project that uses HTTPS the following\nsteps are run:\n\n1. Check that the dev-certs tool is installed and install if it is\nmissing. This installs the same version as the .NET Core 2.1 SDK\nincludes. This is installed into the ~/.dotnet/tools directory by\nrunning 'dotnet install tool dotnet-dev-certs -g --version 2.1...'\n\n2. Run 'dotnet dev-certs https --trust --check' to see if the\nHTTPS development certificate is installed and trusted.\n\n3. Prompt the user to trust/install the HTTPS development certificate\nif it is not installed.\n\n4. Run 'dotnet dev-certs https --trust' as root.\n\nNote that only the Mac is currently supported.\n\nRunning 'dotnet dev-certs https --trust' on the Mac needs to be\ndone as root and with the user id 0. To do this on the Mac and get\nthe Mac username/password prompt the process is more complicated\nthat it should be.\n\na. IDE runs separate custom installer console app.\nb. Installer app uses the AuthorizationExecuteWithPrivileges Mac\nAPI provided by Xamarin.Mac to run another console app as root.\nCannot run dotnet as root here since it requires the user id to be\nset to 0, the same as running 'sudo dotnet'.\nc. Other console app is running as root and uses setuid to set the\ncurrent user id to 0.\nd. Finally this other console app then runs 'dotnet dev-certs https\n--trust' which will install the HTTPS development certificate if it\nis missing and ensure it is trusted.\n\nFixes VSTS #563191","distinct":true,"url":"https://api.github.com/repos/mono/monodevelop/commits/9b53d137c23cf2064f346037cd3a29d0b2046ccc"},{"sha":"52bfd99e42abfe30ad34545ae3e002f4d6976e47","author":{"name":"Matt Ward","email":"0f96a0c155dc93aac0c384f68a86d9ba7ee0f7f7@microsoft.com"},"message":"[AspNetCore] Remember a successful https certificate check.\n\nIf the HTTPS development certificate is found to be valid and\ntrusted then this is now remembered for the current IDE session\nand a check will not be run again during the current IDE session.","distinct":true,"url":"https://api.github.com/repos/mono/monodevelop/commits/52bfd99e42abfe30ad34545ae3e002f4d6976e47"}]}
{"actor":{"display_login":"mrward"}}