TLS errors, and which hostname was actually checked.
openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | grep -A2 'Verify return code'echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -ext subjectAltNameopenssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -datesVerify return code 18 is self-signed, 10 is a name mismatch. They have different causes and different fixes.
Scope: failure mode: TLS errors, and which hostname was actually checked.
CliHelper documents failure modes of third-party command line tools. No software is stored or distributed here.