'Set Credentials for External Connection' failed with: Unable to retrieve the decryption key

'Set Credentials for External Connection' failed with: Unable to retrieve the decryption key

book

Article ID: KB0078850

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

The above error can be seen while running the Automation service with "Set Credentials for External Connection" task. This error can be seen if Spotfire is unable to access the X.509 certificate.

Environment

All supported environments

Resolution

Below error can be seen while running an Automation job. 
=====
'Set Credentials for External Connection' failed with: Unable to retrieve the decryption key
=====
Check the image below for reference.
User-added image

It should be made sure that the following things are in place:
=====
- The X.509 certificate is exported properly with the key and with all extended properties. Check the image below for reference.
User-added image

- The account running the Spotfire server and the Node Manager service has access to read the certificate.
- If certificate was copied from another machine to the node manager machine without using MMC(Microsoft Management Console), make sure the certificate was installed on the Node Manager machine after copying.
    Note: Just copying the certificate to the Node Manager server will not work.

 For running the Automation job locally, the certificate needs to be installed on the local machine where the Spotfire Analyst client is running.
 

Issue/Introduction

'Set Credentials for External Connection' failed with: Unable to retrieve the decryption key