user reports curl doesn't work on his system, gets annoying cert error
turns out user is indeed getting MITMed so the check worked exactly as intended
https://github.com/curl/curl/issues/10551
curl -v "https://www.google.com" * Trying [2404:6800:4009:82c::2004]:443... * Connected to www.google.com (2404:6800:4009:82c::2004) port 443 (#0) * ALPN: offers h2 * ALPN: offers http/1....
@bagder A very nice tool to detect these situations from @jschauma :
https://www.netmeister.org/whatsthatcert/