rafabu / SCOM-PKICertificateMP

This is for SCOM - System Center Operations Manager: The PKI Certificate Verification MP discovers PKI Certificates and Certificate Revocation Lists inside computers’ local certificate stores. It helps preventing service interruptions caused by invalid certificates by alerting when
GNU Lesser General Public License v3.0
20 stars 11 forks source link

Variable bIgnoreSupersededCert is undefined #3

Closed dennisgmdejong closed 5 years ago

dennisgmdejong commented 5 years ago

The process started at 1:31:46 AM failed to create System.Discovery.Data. Errors found in output:

C:\Program Files\Microsoft System Center\Operations Manager\Server\Health Service State\Monitoring Host Temporary Files 220\6832\SystemCenterCentral.Utilities.Certificates.LocalServiceStore.Discovery.vbs(75, 1) Microsoft VBScript runtime error: Variable is undefined: 'bIgnoreSupersededCert'

rafabu commented 5 years ago

adding to issues list of upcoming release. doesn't seem to be anything big.

rafabu commented 5 years ago

Is Service Store Discovery (as opposed to LocalSystem store) still a valid scenario and if yes shouldn't this be possible by a more robust PowerShell script as well? What are your thoughts on this @BCornelissen ?

BCornelissen commented 5 years ago

My first thought around this is to first check if it is defined and fix that as-is. I found the line and above it this is not DIM-med. So adding it first there for the next minor version update of the pack.

rafabu commented 5 years ago

Fixed with v1.4.3.0 https://github.com/rafabu/SCOM-PKICertificateMP/releases/tag/v1.4.3.0