methodTsmCustomTLSInternalServer.FindExpiringTLSServerCertificatesEx
function FindExpiringTLSServerCertificatesEx(aElapsedFraction: Double; aList: TStrings): Integer;
As above, but the cut-off is the FRACTION of each certificate's validity that must have elapsed (aElapsedFraction = 2/3 -> certificates with less than 1/3 left), matching TsmAcmeRenewalManager.RenewalFraction - the natural "which of my live server certificates are due for renewal?" query, e.g. after a restart. Each entry additionally carries, as its Object, a TsmCertificateObject (declared in StreamSec.Mobile.StreamSecII) wrapping the leaf iCertificate, ready to hand to TsmAcmeRenewalManager.Manage. THE CALLER OWNS THOSE OBJECTS: pass a TStringList created with OwnsObjects := True, or free aList.Objects[i] yourself.