TlsContext.setCertificateChain

void setCertificateChain(const(char)[] pemData)

Sets the certificate chain for this endpoint.

For servers, this is required. For clients, this is optional (used for client certificate authentication).

Parameters

pemDataPEM-encoded certificate chain (leaf first, then intermediates).