0
I am developing an application where I use Imap to connect to a client’s gmail, everything works properly on the spot but when I upgrade to the server and run the code I get the following error can't connect: Certificate failure for imap.gmail.com: self signed certificate: /OU=No SNI provided; please fix your client./CN=invalid2.invalid
in my local environment the application works perfectly without a certificate, how can I solve this ?