LetsEncrypt: Manually forcing the automated renewal to test for errors


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » SSL » Let's Encrypt

LetsEncrypt: Manually forcing the automated renewal to test for errorsLast Modified: Feb 7, 2019, 6:35 pm
Sometimes you might want to force DirectAdmin to think a LetsEncrypt certificate needs to be renewed.
We can do this by manually changing the certificate's creation time file to an old time (eg: 61 days before today).

Assume:
DirectAdmin User
Domain
61 days ago

and the LetsEncrypt is currently valid with a renewal time somewhere in the future.

Once that info is filled out, type:

cd /usr/local/directadmin
echo 1537827637 > data/users/fred/domains/domain.com.cert.creation_time
echo 'action=rewrite&value=letsencrypt&domain=domain.com' > data/task.queue; ./dataskq d3100

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST