Question

OCI - Failed to set RSA private key: Failed to import private key

  • 6 March 2024
  • 1 reply
  • 15 views

Badge +1

Folks,

Has anyone already faced this issue with certificates when trying to connect Commvault with OCI?

The logs below are from the VSP windows client.

Steps on the VSP windows client and configuration were based on this link: https://documentation.commvault.com/2024/essential/guided_setup_for_oracle_cloud_infrastructure.html

NOTE: Obtain the private key, password, and fingerprint for the private key, and copy the private key to the VSA proxy instance: base_folder\certificates\external\ folder for Windows proxies, or base_folder/certificates/external/ folder for Linux proxies.

PEM key were generated on MAC following this link: https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#apisigningkey_topic_How_to_Generate_an_API_Signing_Key_Mac_Linux

 

I can see the Commvault server is reaching the VSP windows client (logs below), however it’s failing to import the certificate.

 

3364  16d4  03/05 23:32:06 ### CvException::init(): func_name=CvcRSA::setPriKeyPEM, file_name=cvc_rsa.cpp, message='Failed to set RSA private key: Failed to import private key.'
3364  16d4  03/05 23:32:06 ### OCIConnectionUtils::SignDigestWithRSA() - Failed to sign the digest.
3364  16d4  03/05 23:32:06 ### OracleCloudSDKWrapper::COracleCloudWrapper::CheckConnection() - Connection check failed for all regions
3364  16d4  03/05 23:32:06 ### COracleCloudInfo::Connect() - Connect failed []

 

Thanks

Andy


1 reply

Hi,

What about 10 previous lines in from this log (excluding the IDs)? Is it a PCS backup or something else? What is the CV version used?

Reply