Community discussions

MikroTik App
 
hennotaht
just joined
Topic Author
Posts: 17
Joined: Thu Jan 18, 2018 10:40 pm

Overcoming Rate Limits while debugging Let’s Encrypt’s certificate renewal script

Sat Jan 20, 2024 8:43 pm

I am building a script to automatically renew Let's Encrypt certificates and then updates other services' certificates as well using /certificates/enable-ssl-certificate but after attempting to get 5 certificates while debugging my script I started receiving

[henno@router] /certificate> enable-ssl-certificate
progress: [error] Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours: 111111111111.sn.mynetname.net, retry after 2024-01-22T02:56:34Z: see
https://letsencrypt.org/docs/duplicate- ... ate-limit/, type: urn:ietf:params:acme:error:rateLimited, code: 429

How can I keep debugging my script without having to wait a week after 5 attempts?
 
accarda
Member Candidate
Member Candidate
Posts: 214
Joined: Fri Apr 05, 2019 4:06 pm
Location: Italy

Re: Overcoming Rate Limits while debugging Let’s Encrypt’s certificate renewal script

Sun Jan 21, 2024 10:32 am

This would require using the staging server, which I think you can't set on this RouterOs API for letsencrypt.

From Letsencrypt
When troubleshooting or testing the deployment of your applications we encourage you to configure your ACME client to use our staging environment. Rate limits for our staging environment are significantly higher.
https://letsencrypt.org/docs/staging-environment/

Who is online

Users browsing this forum: sindy and 37 guests