How to force the certificate to expire?

hallo

how to work the system ???

a script get a time and auto renew ???