My domain is: test12345678.com
I ran this command: certonly
It produced this output:
You have an existing certificate that has exactly the same domains or certificate name you requested and isn’t close to expiry.
What would you like to do?
1: Keep the existing certificate for now
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel):
My web server is (include version): nginx
The operating system my web server runs on is (include version): ubuntu server
My hosting provider, if applicable, is: digital ocean
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
I am setting up a cron job to renew my certs. I renewed today, manually, before writing a script and testing it out. When I tested it, I was greeted with the prompt above, warning that my domain wasn’t close to expiry.
I want to be sure my script runs smoothly. I also don’t want to abuse the letsencrypt servers by renewing too often. Can someone tell me if and when that prompt ceases so I can set up my script correctly?