Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmAcmeClient.NewOrder

function NewOrder(aIdentifiers: TStrings): tAcmeOrder; overload;
Manual-flow STEP 2 (managed ObtainCertificate calls it for you). Places the order for aIdentifiers (the domain names to certify) against the registered account and returns the order with its authorizations to work through.
function NewOrder(aIdentifiers: TStrings; const aReplacesLeafDer: tBytes): tAcmeOrder; overload;
This overload sets the RFC 9773 "replaces" field to the certificate the order renews (aReplacesLeafDer = the DER of the leaf being replaced). An ARI-aware CA uses it to correlate the renewal; SHOULD be set whenever there is a clear predecessor.