KSC Open API
Kaspersky Security Center API description
params CertUtils::CreateCSR ( wstring  companyName,
wstring  organizationName,
wstring  organizationUnit,
wstring  countryName,
wstring  regionName,
wstring  cityName 
)

Create a certificate signing request (CSR) and private key.

Parameters:
[in]companyName(wstring) Fully Qualified Domain Name of your server
[in]organizationName(wstring) Legal name of your company/organization
[in]organizationUnit(wstring) Name of the department
[in]countryName(wstring) Country in which you are located
[in]regionName(wstring) State or province in which you are located
[in]cityName(wstring) City that you are located
Returns:
(params) with attributes (REQ, PKEY)