test environment for testing automation scripts?

1,816 views
Skip to first unread message

slinr...@gmail.com

unread,
Dec 18, 2015, 7:09:23 AM12/18/15
to Let's Encrypt Client Development
Hi,

is there a test environment that I can use for testing my scripts?
I don't wane run into the the "Error: rateLimited :: There were too many requests of a given type :: Error creating new cert :: Too many certificates already issued for: XYZ.tdl"

Regards,
Nils

Joshua Tauberer

unread,
Dec 18, 2015, 11:45:19 AM12/18/15
to slinr...@gmail.com, Let's Encrypt Client Development
On 12/18/2015 07:09 AM, slinr...@gmail.com wrote:
is there a test environment that I can use for testing my scripts?
I don't wane run into the the "Error: rateLimited :: There were too many requests of a given type :: Error creating new cert :: Too many certificates already issued for: XYZ.tdl"


You can use LE's Boulder server as a locally running LE API server. I've been doing this to test my simple Python ACME client library:

https://github.com/mail-in-a-box/free_tls_certificates#testing

But I don't know if you can direct the letsencrypt command line client to a different LE server.
-- 

- Josh Tauberer
- @JoshData | http://razor.occams.info

J.C. Jones

unread,
Dec 18, 2015, 12:03:22 PM12/18/15
to slinr...@gmail.com, Let's Encrypt Client Development
Yes. See the community forum: https://community.letsencrypt.org/t/testing-against-the-lets-encrypt-staging-environment/

Basically, start your preferred client from https://acme-staging.api.letsencrypt.org/directory. If you're using the official client, add --server https://acme-staging.api.letsencrypt.org/directory to the command line.

--
J.C. Jones


--
You received this message because you are subscribed to the Google Groups "Let's Encrypt Client Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to client-dev+...@letsencrypt.org.
To post to this group, send email to clien...@letsencrypt.org.
To view this discussion on the web visit https://groups.google.com/a/letsencrypt.org/d/msgid/client-dev/37e2070f-c7e9-433e-8c0a-a25095efe528%40letsencrypt.org.

Peter Eckersley

unread,
Dec 18, 2015, 12:17:47 PM12/18/15
to J.C. Jones, slinr...@gmail.com, Let's Encrypt Client Development
On Fri, Dec 18, 2015 at 10:03:00AM -0700, J.C. Jones wrote:
> Yes. See the community forum:
> https://community.letsencrypt.org/t/testing-against-the-lets-encrypt-staging-environment/
>
> Basically, start your preferred client from
> https://acme-staging.api.letsencrypt.org/directory. If you're using the
> official client, add --server
> https://acme-staging.api.letsencrypt.org/directory to the command line.

Since version 0.1.1 you can use --test-cert to get the same result; it's
easier to remember and type.

>
> --
> J.C. Jones
>
> On Fri, Dec 18, 2015 at 5:09 AM, <slinr...@gmail.com> wrote:
>
> > Hi,
> >
> > is there a test environment that I can use for testing my scripts?
> > I don't wane run into the the "Error: rateLimited :: There were too many
> > requests of a given type :: Error creating new cert :: Too many
> > certificates already issued for: XYZ.tdl"
> >
> > Regards,
> > Nils
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Let's Encrypt Client Development" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to client-dev+...@letsencrypt.org.
> > To post to this group, send email to clien...@letsencrypt.org.
> > To view this discussion on the web visit
> > https://groups.google.com/a/letsencrypt.org/d/msgid/client-dev/37e2070f-c7e9-433e-8c0a-a25095efe528%40letsencrypt.org
> > .
> >
>
> --
> You received this message because you are subscribed to the Google Groups "Let's Encrypt Client Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to client-dev+...@letsencrypt.org.
> To post to this group, send email to clien...@letsencrypt.org.
> To view this discussion on the web visit https://groups.google.com/a/letsencrypt.org/d/msgid/client-dev/CADEAg9SKET5ymLiAw%2BxBLAb7gu3j6sC0DTjOdM1Hacw%2BMmCwTg%40mail.gmail.com.

--
Peter Eckersley p...@eff.org
Chief Computer Scientist Tel +1 415 436 9333 x131
Electronic Frontier Foundation Fax +1 415 436 9993

Nils K

unread,
Dec 19, 2015, 11:30:54 AM12/19/15
to Peter Eckersley, J.C. Jones, Let's Encrypt Client Development
Thank you all for the tips the --test-cert option it the best choise for me!
Reply all
Reply to author
Forward
0 new messages