Topic: Questions about wolfSSL_CTX_use_certificate_buffer()

I used this interface to load certificate. The certificate's period of validity is 2015-2037. If the system date is 2000, this interface return not success. So would this interface check if the certificate is expire? Is it using the system time to compare?

Share

Re: Questions about wolfSSL_CTX_use_certificate_buffer()

Hi muyouyuwan,

Yes wolfSSL uses the system time to check the validity date. Please set your system clock to todays date to validate a certificate.


Warm Regards,

Kaleb