Mismatching redirect URI while using SSL certificates

When I go into my studio I’m having this problem:

I found a similar problem on Mismatching redirect URI…while logging into Studio - #4 by Aneesh_R_S - Site Operations Help - Open edX discussions. I tried to change on the web interface the cms-sso, However, it still had the same problem (Mismatching redirect URI), so I assumed it wasn’t a problem from the cms-sso configuration.

HOWEVER I also tried to not use certificates (SSL) https, and everything works out perfectly and I don’t have any redirected isues.

Is there a tutor configuration file that can solve this problem? Could it be a problem related to certificates? What do you guys think?