Xymon Mailing List Archive search

ssh key test / expiration

3 messages in this thread

list Gab Dito · Tue, 17 Jul 2018 10:05:32 -0400 ·
I am looking for something like "sslcert" test where it changes status
based on expiration date.
Is it doable?


Gab
list Damien Martins · Tue, 17 Jul 2018 16:09:43 +0200 ·
You could design your test using openssl I guess.
quoted from Gab Dito


Le 17/07/2018 à 16:05, Dito a écrit :
I am looking for something like "sslcert" test where it changes status 
based on expiration date.
Is it doable?


Gab

-- 

Cordialement,
Damien Martins
list Gab Dito · Tue, 17 Jul 2018 12:15:03 -0400 ·
I guess the server keys don't expire, I was looking at an article where the
output was this below, hence why I started wondering... I don't think I'll
need it, thank you anyway.


ssh-keygen -L -f user-thomas-cert.pub
user-thomas-cert.pub:
        Type: user-a2c776b4bbde@xymon.invalid user certificate
        Public key: RSA-CERT-V00 a4:b3:6d:e2:bd:4a:39:01:31:c9:05:43:db:78:f6:c9
        Signing CA: RSA a5:e5:20:8e:ea:ea:15:7e:c3:31:60:2d:6b:93:a0:6b
        Key ID: "user_thomas"
        Valid: from 2011-07-07T15:37:00 to 2012-07-05T15:38:11
        Principals:
                thomas
                thomas2


Gab

On Tue, Jul 17, 2018 at 10:09 AM, Damien Martins <user-c12727b399f0@xymon.invalid>
quoted from Damien Martins
wrote:
You could design your test using openssl I guess.

Le 17/07/2018 à 16:05, Dito a écrit :

I am looking for something like "sslcert" test where it changes status
based on expiration date.
Is it doable?


Gab


Xymon mailing user-d459c9d661b6@xymon.invalid


--
Cordialement,
Damien Martins