You are viewing docs from the master branch, some of these features are not yet released.
salt.states.tls
Enforce state for SSL/TLS
-
salt.states.tls.valid_certificate(name, weeks=0, days=0, hours=0, minutes=0, seconds=0)
Verify that a TLS certificate is valid now and (optionally) will be valid
for the time specified through weeks, days, hours, minutes, and seconds.