CCSBot throwing exception error.

book

Article ID: 242168

calendar_today

Updated On:

Products

Control Compliance Suite Standards Server

Issue/Introduction

In Control Compliance Suite we are trying to incorporate CCSBot into the CCS Web portal but every time I ask a question, it throws up this error:  "A webException with status SecureChannelFailure was thrown". 
I have followed all the steps in setting this up but it is not working. 

Cause

This is because secure channel is not being forced to use strong encryption.

Resolution

On the CCS Application Server the following commands need to be run in a PowerShell window opened with Administrator, in order to have the rights to make the changes.

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

After those have been run successfully with no errors, then reboot the CCS Application Server.

Now the CCSBot will work correctly.