SSL error when trying to access login

Hi All,

I am trying to implement Auth0 with a legacy ASP.NET MVC site written in VB and running on .NET 4.7.2.

I got the MVC example working on .NET 4.7.2. It is doing exactly what I want. The VB site builds and runs OK but, when it tries to access the Auth0 login, it throws a error " The request was aborted: Could not create SSL/TLS secure channel."

I am debugging on LocalHost with SSL switched off, the same as the example. I have triple-checked that all the URIs have “http” yet when I use Fiddler to see the request, the protocol in the request to the login URI is shown as HTTP not HTTPS. The result is shown as 200 but the browser displays the error page. See the attached screenshot.

Any help with this would be hugely appreciated. I need to keep this old site running for a few more months.

Thanks in advance,