How to bypass final confirmation dialog?


#1

I created a cron job to auto renew the cert.

But it always prompts the finial confirmation blue window, says " Your existing certificate has been successfully renewed, and the new certificate has been installed. You should test your configuration at: www.ssllabs.com/xxxxx". And stop proceeding the following commands.
How can I bypass this dialog? Looked the letsencrypt-auto --help all, but not found the switch to turn this off. I do not want to use webroot plugin and config file.
Thanks for the help.


#2

See Letsencrpyt-auto requires manual interaction on renewal

I think the solution is that you need to add certonly when renewing

@monthly ./letsencrypt/letsencrypt-auto certonly --renew-by-default --server https://acme-v01.api.letsencrypt.org/directory --no-redirect -d example.com -d www.example.com && service apache2 reload


#3

Thanks for the reply.
This command still needs to choose ‘how would like to authenticate with the Let’s enrypt Ca?, Apache or standalone’.
So the working command for me is,

@monthly ./letsencrypt/letsencrypt-auto certonly
–renew-by-default --server
https://acme-v01.api.letsencrypt.org/directory --no-redirect --apache -d
example.com -d www.example.com && service apache2 reload