GnuTLS / certtool¶
Cert Validation with certtool¶
Download remote Cert¶
Show remote cert¶
Or with custom script:
Print cert or chain info¶
Verify¶
Proper CA¶
Verify self-signed certs against a local CA¶
certtool --verify-chain < ./leap/providers/bitmask.net/keys/client/openvpn.pem < /home/varac/dev/projects/leap/git/bitmask/files/ca/client_ca.crt
gnutls-cli leap.se -p 443 --insecure --print-cert < /dev/null > /tmp/cert.pem
certtool --verify-chain < /tmp/cert.pem < /etc/ssl/certs/AddTrust_External_Root.pem