TSocketHttpServer.ReloadCertificates Method
Re-reads the certificate files configured in Ssl and applies them to new connections, without dropping the listeners or established connections.
Remarks
Use it for zero-downtime certificate renewal. Does nothing when the server is not running. When the new certificates cannot be loaded, raises ETlsError and keeps the current ones.
Syntax
Unit: Sparkle.Socket.Server
procedure TSocketHttpServer.ReloadCertificates;