i have a problem with my network: error Could not verify the remote secure serve

Hello, I have a problem, I cannot connect to my network. I tried to connect to a network from my cell phone and got [ERROR] Could not verify remote secure server certificate, please make sure you are using secure network. I don't know why that happens. they run at 2.4Gh and have wpa2.
I'm using the example wifi that comes with the esp library, and other internet sketches to connect to the wifi.
thanks for your help.

The examples will not work, you need to use your ssid name and your password. That should make it go.