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 2016.3.0-182-gbed98d8