Implement public key pinning for gnutls backend