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

Set feature settings

Parameters:
szwCertTypeCertificate type.
pSettingsShould 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);