TSslCertificate Class
One additional server certificate selected by SNI (Server Name Indication) host name.
Remarks
A host name starting with "*." matches exactly one extra label: "*.example.com" matches "api.example.com" but not "a.b.example.com".
Syntax
Unit: Sparkle.Socket.Tls
TSslCertificate = class(TObject);
Properties
| Name | Description |
|---|---|
| CertificateFile | Gets or sets the path of the certificate (or full chain) file, in PEM format. |
| HostName | Gets or sets the host name (or "*." wildcard pattern) this certificate is served for. |
| KeyPassword | Gets or sets the password of the private key, when it is encrypted. |
| PrivateKeyFile | Gets or sets the path of the private key file, in PEM format. It can be the same file as the certificate. |