KSC Open API
Kaspersky Security Center API description
ServerTransportSettings::SetFeatureSettingsEx ( wstring  szwCertType,
params  pFeatureSettings,
params  pSettings 
)

Set feature settings for one of the web servers

Parameters:
szwCertTypeCertificate type.
pFeatureSettingsShould be true to activate feature.
                    "FeatureEnabled"         [paramBool], activate/deactivate feature;
                    "AutoRenewEnabled"       [paramBinary], enable/disable automatic certificate renewal;
                    "AutoRenewDaysLeft"      [paramInt], reserve certificate generation time (number of days until the current certificate expires);
                
Parameters:
pSettingsRequest settings.
                    "TRSP_SETTIGNS_WEB_SRV_LOCAL"            [paramBool], Web server local;
                    "TRSP_SETTIGNS_WEB_SRV_HOST_ID"          [paramString], Web server host id;