After setting up the SCOM add-on I got the ERROR:
New SCOMManagementGroupConnection Fail: The request was aborted: Could not create SSL/TLS secure channel.
While troubleshooting I found out that PowerShell uses TLS 1.0 as default, and the Splunk web services was configured to use TLS 1.2. I added the following line to \Splunk\etc\apps\Splunk_TA_microsoft-scom\bin\scom_command_loader.ps1 at line 9 and it fixed the problem.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
This could also be fixed by adding the line to the PowerShell profile of the service user set up to run the Splunkd service.
This was a LAB environment running on Windows Server 2016 and Splunk 6.6.2
I'm unsure if this is a bug in the Add-on or my environment?
... View more