salt.states.tls.
valid_certificate
Verify that a TLS certificate is valid now and (optionally) will be valid for the time specified through weeks, days, hours, minutes, and seconds.
Version 2015.8.0rc2-17-g2d12fc4
netapi