Forum Discussion

2 Replies

  • Let me give it a try.

    return [expr ({[clock scan [mcget {session.ssl.cert.end} ] ]} - [mcget {session.user.starttime} ]) <= "2678400" ]

    Will return a 1 if the certificate is within one month of expiration, a 0 if it is not.

    Cheers,

    Kees

  • Hi Kees,

     

    this is exactly what I was looking for.

    Thank you very much!