I would like to include parts (or the entire syntax) of the certificate details in an alert for an SSL check. This would help us identify if the certificate is internal, external, or self signed.
How can I reference this data? Is there a variable I can use in the ${UserNotes} field?
The data is retrieved in the SSL Certificate expiration Data Monitor component cert check when I click on details when testing the component monitor.
Certificate will expire in 3424 day(s). Expiration date: 7/15/2023
SslExpirationDateProbe Execute Result: ================================
Target: 10.246.99.60
Statistic Value (certificate valid days left): 3424
Statistic Warning Threshold: -1.79769313486232E+308
Statistic Critical Threshold: 30
Response Time Value: 00:00:00.0200000
Response Time Warning Threshold: 1.79769313486232E+308
Response Time Critical Threshold: 1.79769313486232E+308
Outcome based on thresholds: Available
Certificate details: ==============================================
Subject: CN=SERVERNAME.xxxxx.xxxx, O=Company, OU=EPM
Issuer: CN=SERVERNAME.xxxxx.xxxx, O=Company, OU=EPM
Version: 3
Valid Date: 7/17/2013 11:30:45 PM
Expiry Date: 7/15/2023 11:30:45 PM
Thumbprint: B50E2670D5C33C9BD594254CBB7905396FB64A7F
Serial Number: 0094B4084AB9FFC442
Friendly Name: RSA
Public Key Format: 30 82 01 0a 02 82 01 01 00 df c1 b0 aa 62 3b 55 6a a3 71 cb 77 3b 63 97 5b 23 18 e6 4f c7 2b 69 60 71 dd 64 cf 09 b9 ee ea ef 31 24 aa 6d 93 45 ed 8e cb 63 7c b7 fc 55 cd 98 a1 1f d3 7c a4 0e 3a 44 35 87 dd f1 1d 3f 8f 5c 26 12 8e 7a 49 2c 1f 77 ba 62 9e 9d 23 5b 62 61 e7 29 fa 63 4f d4 87 6e 68 d1 19 6f 08 33 0c 5c 92 a9 a5 da 7c 69 a9 3b 41 1e 84 c7 59 ed 48 93 48 cf ef 16 69 a2 8e 59 bc 0d 66 76 58 5a c7 2e 2f 3e 6f 8b 88 94 41 04 2e 79 47 cc 8e 41 9f 35 1e 8b 12 6b ee c8 fe da 9c 6d b7 de 86 c0 26 da 4f d3 a8 5b 3f 3e dc 5d f4 f8 27 73 8d 1b df 83 c3 4f 14 92 b3 7b 30 e4 de 7c b7 6f a4 36 df 35 f3 db c3 de c1 3a 12 e2 1c cf 56 d0 55 bd a5 85 5e c9 8c 27 71 89 21 89 22 c8 e7 f6 82 5e 0e fe cb 4a 10 46 40 6e e3 ea 67 82 83 fc 5c 2e 88 80 ad 57 a8 b7 75 54 73 f3 dc 87 9f e2 87 eb b9 02 03 01 00 01
Raw Data Length: 987
End SslExpirationDateProbe Execute Result =============================