Use the ICISite interface SetKeyFilePath method to change the file path to private keys. If you must restart the server for the changes to take effect, the SetKeyFilePath method returns a value of TRUE.
[in] BSTR newVal,
[out, retval] VARIANT_BOOL *pNeedRestart);
Refer to Site Certificates and Keys Parameters for an illustration of how this and other ICISite methods can be accessed in the Administrator interface.