I'm passing a portal from my company to https. We also have an application that connects to the database and the like through controllers
. For login we use IFormsAuthentication
. In http, the sign in is done without any problem, however when it is in https the sign in fails. I think the problem is that the SSL certificate is self-trusted (by IIS) because I made the calls inside the machine (via Postman ) and I managed to make the sign in perfectly.
The method in question:
public void SignIn(string userName, bool createPersistentCookie)
{
FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
}
Does anyone know how to shed light on this situation?