Hi,
Last friday we got an issue when the Identity Collectors couldn't connect to a gateway. After a while we realised the certificate on the gateway expired. We fixed the issue by renewing it.
Now what we want is to monitor when that certificate will expire and to configure an alert to notify us 1 month earlier. The idea is to know what command tells us the expiration day of that certificate. We tried this command in all interfaces of the gateway, it shows the info from another certificate in the appliance, not the one we want:
cpopenssl s_client -connect X.X.X.X:443 | cpopenssl x509 -text
The output of that command shows us the certificate is going to expire on 2028 and the interesting certificate will expire on 2025 so it's reading another cert.
Do you know the command to extract the info of that certificate?
Thanks!