barnacle.m
barnacle.m

Reputation: 2200

SSL authentication causing issue with MVC 4 site

I've been building an ASP.Net MVC4 website for months now, and I finally added SSL to the entire site (Global filter with the RequiredHttps attribute). This therefore applied to my home page controller.

Since adding that, if I browse to the website, the page simply fails to load with an unknown error. If I remove the filter, the page works fine but then I can't have SSL on my entire site.

NOTE I have not yet acquired an SSL certificate, but I didn't think this would be a problem yet, surely it should simply ask for an exception?

Many thanks

Upvotes: 0

Views: 234

Answers (1)

Jeetu
Jeetu

Reputation: 156

I think you need to acquire custom self assigned SSL certificate for this as you have mentioned which might resolve your problem.

Upvotes: 1

Related Questions