Products | Versions |
---|---|
Spotfire Server | 7.5 and later |
While using 'Set Data Source Credentials' task in Automation Services, the following error can be seen if the correct x.509 certificate is not being used.
=====
Running Set Data Source Credentials (1 of 1)
The task 'Set Data Source Credentials' could not be executed.
System.Security.Cryptography.CryptographicException: Unable to retrieve the decryption key.
at System.Security.Cryptography.Xml.EncryptedXml.GetDecryptionKey(EncryptedData encryptedData, String symmetricAlgorithmUri)
at System.Security.Cryptography.Xml.EncryptedXml.DecryptDocument()
at Spotfire.Dxp.Automation.Tasks.Tasks.Implementation.X509Utilities.Decrypt(String encryptedData)
at Spotfire.Dxp.Automation.Tasks.Tasks.SetInformationModelCredentials.ExecuteCore(TaskExecutionContext context)
at Spotfire.Dxp.Automation.Extension.Task.Execute(TaskExecutionContext context)
=====
Cause:
If the certificate was not created with a valid CSR, this error can be seen.