Steps
- In a Linux terminal replace HOST with the gateway domain and run openssl s_client -connect HOST:443 -servername HOST -verify_hostname HOST -verify_return_error </dev/null. Replace 443 if the gateway uses another TLS port. Record the certificate subject, verification result, and errors.
Interpretation
If the certificate belongs to another site, ask the administrator to check the domain's virtual host and SNI setup. For chain errors, capture the verification error so the chain and local trust store can be checked. After TLS succeeds, test the actual VPN connection.