PVWA - Reports are stuck in pending status or fail with ' An unknown connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server.'

PVWA - Reports are stuck in pending status or fail with ' An unknown connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server.'

176
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:03 PM


Symptom


After generating a report, the reports is stuck on pending and eventually fails.

One of the following error messages are shown in CyberArk.WebTasksService.log:
 
  • TSKSRV03E Webservice call failed. Reason: The underlying connection was closed: An unexpected error occurred on a send.
  • TSKSRV03E Webservice call failed. Reason: The underlying connection was closed: An unexpected error occurred on a receive.
  • Error: Schannel -
  • TSKSRV03E Webservice call failed. Reason: The request was aborted: Could not create SSL/TLS secure channel. 
 


Environment


9.7;9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10 PVWA - Reports are stuck in pending status, fail
- The issue is often presented after a Windows Update that effects .NET, and/or default TLS protocol support


Cause


  1. The security setting in the Local Security Policy prevents the Task Execution
  2. .NET Framework 4.5.2 by default supports TLS protocols up to TLS 1.0 only, unless it's configured to use another configuration, in code, or in the machine's registry. Which means that TLS 1.1 and 1.2 won't be supported by default in any .NET application on the PVWA server. In .NET Framework 4.6 this was fixed to require TLS 1.2 by default.

    Note: (https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls)
    "If your app targets .NET Framework 4.6 or later versions, this key defaults to a value of 1. That's a secure default that we recommend. If your app runs on .NET Framework 4.6, but targets an earlier version, then the key defaults to 0. In that case, you should explicitly set its value to 1."

    As of PAS 10.10, .NET 4.5.2 is targeted, so the issue is still relevant even if running higher .NET Framework versions on the PVWA.
     Note: For future version, to find the targeted .NET framework look in \CyberArk\Password Vault Web Access\Services\CyberArkScheduledTasks.exe.config for example: <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /> - This is not a configurable/changeable parameter.


Resolution


  1. Change the security setting in the Local Security Policy of the underlying Windows Server.
    • Open CMD and type: secpol.msc [Enter]
    • Security Settings - Local Policies - Security Options - "System Cryptography: Force strong key protection for user keys stored on the computer"
    • Change the Value from "User must enter a password each time they use a key" to: "User input is not required when new keys are stored and used"
    • Restart the Server
  2. In order to fix this issue and require .Net applications to use TLS 1.2, the following registry entries changes should be added (after disabling all the other TLS protocols - TLS 1.1 and below. To disable TLS protocols, please see Solution 00004784 - How can I disable and/or enable SSL and TLS protocols?)
    • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
      • Create a DWORD "SchUseStrongCrypto"=dword:00000001 
    • [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]
      • Create a DWORD "SchUseStrongCrypto"=dword:00000001 
    • **In order to accept this changes, the user need to REBOOT the PVWA machine


Additional Information


Details

SYMPTOM:

After generating a report, the reports is stuck on pending and eventually fails.

 

One of the following error messages are shown in CyberArk.WebTasksService.log:

 

  • TSKSRV03E Webservice call failed. Reason: The underlying connection was closed: An unexpected error occurred on a send.
  • TSKSRV03E Webservice call failed. Reason: The underlying connection was closed: An unexpected error occurred on a receive.
  • Error: Schannel - An unknown connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server. The SSL connection request has failed.
  • TSKSRV03E Webservice call failed. Reason: The request was aborted: Could not create SSL/TLS secure channel. 

 

PROBLEM:

 

  1. The security setting in the Local Security Policy prevents the Task Execution
  2. .NET Framework 4.5.2 by default supports TLS protocols up to TLS 1.0 only, unless it's configured to use another configuration, in code, or in the machine's registry. Which means that TLS 1.1 and 1.2 won't be supported by default in any .NET application on the PVWA server. In .NET Framework 4.6 this was fixed to require TLS 1.2 by default.

    Note: (https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls)
    "If your app targets .NET Framework 4.6 or later versions, this key defaults to a value of 1. That's a secure default that we recommend. If your app runs on .NET Framework 4.6, but targets an earlier version, then the key defaults to 0. In that case, you should explicitly set its value to 1."

    As of PAS 10.10, .NET 4.5.2 is targeted, so the issue is still relevant even if running higher .NET Framework versions on the PVWA.
     Note: For future version, to find the targeted .NET framework look in \CyberArk\Password Vault Web Access\Services\CyberArkScheduledTasks.exe.config for example: <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /> - This is not a configurable/changeable parameter.
 
SOLUTION:
 

 

  1. Change the security setting in the Local Security Policy of the underlying Windows Server.
    • Open CMD and type: secpol.msc [Enter]
    • Security Settings - Local Policies - Security Options - "System Cryptography: Force strong key protection for user keys stored on the computer"
    • Change the Value from "User must enter a password each time they use a key" to: "User input is not required when new keys are stored and used"
    • Restart the Server
  2. In order to fix this issue and require .Net applications to use TLS 1.2, the following registry entries changes should be added (after disabling all the other TLS protocols - TLS 1.1 and below. To disable TLS protocols, please see Solution 00004784 - How can I disable and/or enable SSL and TLS protocols?)
    • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
      • Create a DWORD "SchUseStrongCrypto"=dword:00000001 
    • [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]
      • Create a DWORD "SchUseStrongCrypto"=dword:00000001 
    • **In order to accept this changes, the user need to REBOOT the PVWA machine



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001BZLCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail