Applications Systems

Agent polled node not polling statistics due to Jobengine error "SolarWinds.JobEngine.JobEngineCryptographicException: The decryption of the credentials failed. ---> System.Security.Cryptography.CryptographicException: Keyset does not exist"

This article describes how to resolve an issue with the Job certificate created for an agent polled node that is causing polling issues.

First published date

12/17/2025 1:30 PM

Last published date

8/28/2026 4:59 PM

Overview

Agent logs may show errors similar to the following, indicating a problem with the JobEngine certificate on the remote agent machine:

ERROR SolarWinds.JobEngine.Scheduling.Scheduler - (null)  Error decrypting job 74c6b07b-2525-457a-9b10-69f9d21833f8 credentials. Job is either corrupted or was encrypted with unknown certificate. Job will be removed.
SolarWinds.JobEngine.JobEngineCryptographicException: The decryption of the credentials failed. ---> System.Security.Cryptography.CryptographicException: Keyset does not exist

   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
   at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
   at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
   at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize)
   at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey()
   at SolarWinds.JobEngine.Scheduling.CertificateCredentialHandler.get_PrivateKey()
   at SolarWinds.JobEngine.Scheduling.CredentialHandlerBase.TransformCredential(Credential cred)
   --- End of inner exception stack trace ---
   at SolarWinds.JobEngine.Scheduling.CredentialHandlerBase.TransformCredential(Credential cred)
   at SolarWinds.JobEngine.Scheduling.CredentialHandlerBase.TransformCredentialInJob(JobDescription job, ICredentialHandler handler)
   at SolarWinds.JobEngine.Scheduling.CredentialHandlerBase.TransformCredentialInJob(JobDescription job)
   at SolarWinds.JobEngine.Engine.JobEngine.SubmitJob(Guid jobId, JobDescription jobConfiguration, JobExecutionInfo jobExecutionInfo)
   at SolarWinds.JobEngine.Scheduling.Scheduler.DispatchJob(ScheduledJobInfo jobInfo)

Product section

Server Application Monitor

Cause

The issue is caused by the self-signed JobEngine certificate on the remote agent machine.
This certificate is used for encrypting and decrypting entries in the remote agent JobEngine database such as polling job definitions.

Resolution

To fix this issue, regenerate the JobEngine certificate and database on the affected remote agent node by following these steps:
  1. Stop the SolarWinds Agent service on the remote agent machine.
  2. Delete the JobEngine certificate from the Microsoft certificate store:
    • Open the Microsoft Management Console (MMC) with the Certificates snap-in for the Local Computer.
    • Navigate to: Local Computer -> SolarWinds Agent -> Certificates.
    • Locate and delete the certificate named SWI-Agent-JobEngineService:

 

 

              3. Delete the JobEngine database file located at:

C:\ProgramData\SolarWinds\JobEngine.v2.agent\Data\JobEngine.db

              4. Start the SolarWinds Agent service on the remote agent machine.

 
After restarting, the JobEngine service will detect the missing certificate and database file and automatically recreate them within a few minutes.