I cannot get the agent reinstalled on some servers, the discovery wizard fails on signing and managing the certificate.
Task invocation failed with error code -2130771918. Error message was: The SCXCertWriteAction module encountered a DoProcess exception. The workflow "Microsoft.Unix.Agent.GetCert.Task" has been unloaded.
Module: SCXCertWriteAction
Location: DoProcess
Exception type: ScxCertLibException
Exception message: Unable to create certificate context
; {ASN1 bad tag value met.
}
Additional data: Sudo path: /usr/bin/
Management group: NA-SCOM
Workflow name: Microsoft.Unix.Agent.GetCert.Task
Object name: Virginia Unix/Linux Monitoring-V000SCM0040
Object ID: {D66EACAE-01B1-F436-8111-755A67B85BD1}
G:\SCOMADMIN\SCOM Scripts>winrm e http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx -r:https://v000000valt1001.tamcentral.asp:1270 -u:dcoadmin -auth:basic -encoding:UTF-8 -skipCAcheck -skipCNcheck
Enter the password for 'dcoadmin' to connect to 'https://v000000valt1001.tamcentral.asp:1270':
WSManFault
Message = The server certificate on the destination computer (v000000valt1001.tamcentral.asp:1270) has the following errors:
Encountered an internal error in the SSL library.
Error number: -2147012721 0x80072F8F