Closed ViolanteCodes closed 2 years ago
@ViolanteCodes I'm not sure. Usually, localhost does work using http://. We should learn if this is a complex fix and if not, I think we should have it working with both http:// and https:// without this warning message
@vlnevyhosteny See above - can you advise if we can have it working on both?
There is a way how to easily add developer cert for local https https://docs.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-6.0&tabs=macos#trust-the-development-certificate .
But enabled http for development env in https://github.com/ButterCMS/dotnet-starter-buttercms/pull/28 .
This works for me - I would expect the developer of this framework to know how to add the cert if needed, but this at least allows us to bypass the scary warnings LOL
On Mon, Jun 13, 2022 at 11:25 AM vnevyhosteny @.***> wrote:
There is a way how to easily add developer cert for local https https://docs.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-6.0&tabs=macos#trust-the-development-certificate .
But enabled http for development env in #28 https://github.com/ButterCMS/dotnet-starter-buttercms/pull/28 .
— Reply to this email directly, view it on GitHub https://github.com/ButterCMS/dotnet-starter-buttercms/issues/16#issuecomment-1154063226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7KOCCTCDIJO7V35JUVBX3VO5HFLANCNFSM5X7V6LRQ . You are receiving this because you were mentioned.Message ID: @.***>
When starting the app, I initially get a certificate error: screenshot if loading https://localhost:5001/ for the first time. I've also tried using http://localhost:5000, but this automatically redirects to https://localhost:5001. Is there a way to avoid this error screen besides clicking advanced > allow?
@orlyohreally Do you think forcing https:// is necessary for this app? I think our other starter apps allow http:// connections on localhost?