‘Unexpected Error’ message is encountered uploading a Private Key.

 To resolve this, generating new public and private keys must be done.

 

Solution
  1. Open Windows PowerShell in Administrator Mode
  2. On the PowerShell, choose a driver from where will you store the keys
  3. Note: Please make sure that this storage already exists on your device and that you are just calling it on PowerShell
  4.  
  5. Refer to the below screenshot sample of  key generation via PowerShell:
  6. Check the folder directory where the generated public and private key is located which should already be in the PEM Format.
  7. In NetSuite, Navigate to Setup Company Keys
  8. Click New
  9. Name: Enter Name
  10. Click Files
  11. Click Choose File
  12. Select the Key generated from Step 4
  13. Password: Enter Password
  14. Click Save
  15. Note: It is expected that the Private key will be uploaded without any error.

Leave a comment

Your email address will not be published. Required fields are marked *