InstallIssuedCertificate
procedure InstallIssuedCertificate(aServer: iAcmeAlpnTLS; const aCertChainPem: string; aKey: TComponent; const aLivePfxPath: string; const aPassword: string; aArchiveOld: Boolean = True);
InstallIssuedCertificate builds a PFX from aCertChainPem (leaf + issuers, as returned by TsmAcmeClient.DownloadCertificate) and aKey (the temp key holding the certificate's private key), writes it beside aLivePfxPath as a temp file, hot-swaps the identity into aServer, then - only once the swap succeeded - archives the old PFX (or discards it) and moves the temp PFX to aLivePfxPath. aServer is left serving the new certificate; the file on disk lets it come back to the same identity after a restart. aServer is taken as iAcmeAlpnTLS so this works for a single TsmCustomTLSInternalServer AND for a sharded TsmAsyncTLSServer, which fans every operation out to all of its engines. Existing callers that pass the concrete server class still compile - Delphi converts it to the interface implicitly.