You might be connecting to vpn.company.com , but the certificate is issued to globalprotect.company.com .
This error typically appears when the GlobalProtect client (from Palo Alto Networks) attempts to establish a TLS handshake with the portal or gateway, but cannot validate the presented SSL/TLS certificate. globalprotect vpn failed to verify certificate
Sometimes, corporate firewalls or ISP-level proxies intercept HTTPS traffic and replace the certificate. and try to connect. If it works on cellular but not on home Wi-Fi, your ISP or home router is interfering. You might be connecting to vpn