[Defender] Cannot login and cURL error 60 after activating 2-factor auth and login page hiding


after activating 2-factor authentication and hiding the login page in Defender and login out:
- I cannot login anymore, I put username and password, I insert the code I get in the Google Authenticator app, and then I get to the homepage, but I am not logged in. I remember activating the redirection to the homepage when 404 errors are triggered at login in Defender.
- In the hub I see this error repeated many times: cURL error 60: SSL certificate problem: unable to get local issuer certificate.