Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTsmAcmeClient.AlpnTarget

property AlpnTarget: iAcmeAlpnTLS read AcmeTarget;
The server this client provisions - TLSServer or AsyncTLSServer, whichever is set - as the interface BOTH implement, or nil in host-driven mode. Its TryBeginAcmeChallenge / EndAcmeChallenge pair is that server's tls-alpn-01 gate.

IT EXISTS SO A CALLER CAN BRACKET AN OBTAIN WITHOUT CARING WHICH KIND OF SERVER IT IS. Reading the concrete TLSServer property to find the gate - which is what TsmAcmeRenewalManager used to do - silently finds nothing when the client is managing a sharded TsmAsyncTLSServer, because that client sets AsyncTLSServer and leaves TLSServer nil. The gate is then never taken and two obtains can share one per-SNI challenge slot.

READ-ONLY. To change the server, set TLSServer or AsyncTLSServer; they are mutually exclusive and the setters enforce it.