You can disable the SSL or HTTPS in Visual Studio 2019 for your local project execution. Below are the steps,
- Right-click the project and select properties
- Go to the debug section on the left-hand side
- Uncheck the “Enable SSL”
Now you can run your site in Http protocol in the local environment.