BASS_CONFIG_ENCODE_SERVER_CERT config option
The certificate file for encrypted servers.
|filename||The filename of the certificate.
This setting determines what certificate is used for SSL/TLS encrypted server connections. The file should be in PEM format. It can also include intermediate and root certificates (in that order) after the server's certificate. The corresponding private key also needs to be set via the BASS_CONFIG_ENCODE_SERVER_KEY option.
A copy is made of the provided string, so it does not need to persist beyond the BASS_SetConfigPtr call. Changes take effect from the next BASS_Encode_ServerInit call. Existing servers are unaffected.
On Windows and Windows CE, the BASS_UNICODE flag can be used with a UTF-16 string ("wchar_t" rather than "char").