An open API service indexing awesome lists of open source software.

https://github.com/steveunderscoren/certchecks

PowerShell script to check certificate expiry dates and to create event log and email alerts. Invalid/self signed certificate checking is supported.
https://github.com/steveunderscoren/certchecks

alerting certificates expiration invalid

Last synced: 11 months ago
JSON representation

PowerShell script to check certificate expiry dates and to create event log and email alerts. Invalid/self signed certificate checking is supported.

Awesome Lists containing this project

README

          

# CertChecks
PowerShell script to check certificate expiry dates and to create event log and email alerts. I've added ServerCertificateValidationCallback code to allow expired certificates that would normally throw an exception calling "AuthenticateAsClient" and give the detail of "The remote certificate is invalid according to the validation procedure."
## Test-CertificateExpiryDate.ps1
This script can test multiple hosts and multiple ports, it can email alerts and create Windows event log entries for SIEM integration. It should be run under 'SYSTEM' as a scheduled task after initial testing at a PowerShell prompt. It supports tab completion using parameters.
e.g.
Test-CertificateExpiryDate.ps1 -Name "outlook.office365.com" -ExpiryThreshold 72 -AlertToAddress "support@mydomain.com" -port 443, 993