The set command reads the Transport Layer Security (TLS) certificate expiry information.
Syntax:
%CERTEXPIRY=<sec_tag>,<type>
Response syntax:
%CERTEXPIRY: <serial number>,<notBefore>,<notAfter>
The set command parameters and their defined values are the following:
The following command example reads the expiry information of the root certificate stored in <sec_tag> 1:
%CERTEXPIRY=1,0
The following response example reads the expiry information of a certificate with serial number 00AEF87681FA968B61 that is valid from August 23, 2017 8:47:37 AM GMT to August 23, 2018 8:47:37 AM GMT:
%CERTEXPIRY: 00AEF87681FA968B61,20170823084737Z,20180823084737Z