[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] Does verify_peers2 check cert expiration?
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [Help-gnutls] Does verify_peers2 check cert expiration? |
Date: |
Sun, 15 Feb 2009 19:56:13 +0200 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
Sam Varshavchik wrote:
> 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
No. Your checks are fine.
regards,
Nikos