KSC Open API
Kaspersky Security Center API description
|
SetCustomSrvCertificateEx. Sets custom certificate for one of the web servers.
"CERT_USE" [paramBool], it indicates if custom certificate feature is enabled or disabled for this certificate type (szwCertType). "CERT_CHANGE_TIMEOUT" [paramInt], optional, seconds, certificate change timeout for reserve certificates. It should be set for reserve certificate only. Note that certificate can be in one format only - PEM or PKCS12. If pCertData is NULL or empty then settings will be completely removed. If "CERT_USE" is true and no any certificate was saved before then KLSTD::STDE_BADPARAM will be thrown. If "CERT_USE" is false then no any other parameters required because only "CERT_USE" will be applied.
"TRSP_SETTIGNS_WEB_SRV_LOCAL" [paramBool], Web server local; "TRSP_SETTIGNS_WEB_SRV_HOST_ID" [paramString], Web server host id;
|