Forum Discussion

Alexandros8888's avatar
Alexandros8888
Copper Contributor
Nov 23, 2020

Monitor  SSL Certificates that will be expired soon and also provide an email notification

Hello, I have the following code in order to monitor  SSL Certificates that will be expired soon and also provide an email notification at the end. To be clear i have found that code from this link...
  • farismalaeb's avatar
    farismalaeb
    Nov 27, 2020

    Alexandros8888 

    I hope I understand the last response correct but try to do this change in the $Result Variable

     

    $Result += "
    <br>Certificate for Host: $url Expires on -----> $ExpirationDate
    <br>Certificate for Host: $url Expires in -----> $DayCount DAYS"

     

    The output will be much better and each certificate will be in a separate line

     

Resources