trusted certificate error while running mvc app

1. Way while creating app uncheck https 
Create app - app name - next- uncheck https

2. Second way- in appsetting. Json add trustedcertificate=true 
refer image