As i have this project which has already SSL Enabled after pressing F4 here is a snapshot below.
As i update it with https://localhost:58065/
on my Web Project Url it gives me this issue when the project runs.
As i have followed plenty of websites for help but nothing worked for me especially when i exported and imported and certificate file.
Even if i change the http://localhost:58065/
to something like this http://localhost:58061/
without SSL and https://localhost:58065/
for SSL it still shows the same issue.