I am running the "SSL Certificate Expiration Date Monitor".
I would love to be able to get the Subject name of the certificate in part of the view I'm working on. Like Subject: CN=mail.domain.com
Is this possible? Do I need to find another way with a powershell script monitor and custom message return?
When the monitor runs it looks like this in test.
Can I capture this subject name?
Certificate will expire in XXX day(s). Expiration date: XX/XX/2017
SslExpirationDateProbe Execute Result: ================================
Target: 10.0.41.51
Statistic Value (certificate valid days left): 672
Statistic Warning Threshold: 1.79769313486232E+308
Statistic Critical Threshold: 1.79769313486232E+308
Response Time Value: 00:00:00.0070000
Response Time Warning Threshold: 1.79769313486232E+308
Response Time Critical Threshold: 1.79769313486232E+308
Outcome based on thresholds: Available
Certificate details: ==============================================
Subject: CN=mail.domain.com, (modified, the subject name was included I've edited this)
Issuer: CN=Issuing CA, OU=Trust Network, O=Company, C=US (I've edited this)
Version: 3
Valid Date: 10/12/20XX 20:00:00
Expiry Date: 10/13/20XX 19:59:59
Thank you all in advance,
David