After calling gnutls_certificate_verify_peers2(), I call gnutls_certificate_get_peers(), take the first cert, and call gnutls_x509_crt_get_activation_time() and gnutls_x509_crt_get_expiration_time(), and verify that the certificate has not expired.

Am I doing too much work? The man page for gnutls_certificate_verify_peers2() isn't quite clear if it does any more validation besides verifying the cert chain.

Attachment: pgpOQRjXqDrIf.pgp
Description: PGP signature

_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to