methodTsmStreamSecII.FindExpiringTLSServerCertificates
function FindExpiringTLSServerCertificates(aExpirationDate: TDateTime; aList: TStrings): Integer;
Use this method for validation of server certificates when the server is running, i.e. AFTER TLSSetupServer has been called, and when you don't want to close the server just to manage certificates. The aExpirationDate is the cut-off date time for the notAfter of the server certificate. Information about the soon to expire certificates will be added to aList on the format '%s=%s', where the first string is the OID of the subject public key, and the second string is the DNS name (either Subject CN or SubjectAltName DNSName). There might be be duplicates. The return value is the number entries that where added to aList.