Commit Graph

8 Commits

Author SHA1 Message Date
Jacob Hoffman-Andrews 6b8b6a37c0 Update chisel2 and boulder-tools (#3495)
This change updates boulder-tools to use Go 1.10, and references a
newly-pushed image built using that new config.

Since boulder-tools pulls in the latest Certbot master at the time of
build, this also pulls in the latest changes to Certbot's acme module,
which now supports ACME v2. This means we no longer have to check out
the special acme-v2-integration branch in our integration tests.

This also updates chisel2.py to reflect some of the API changes that
landed in the acme module as it was merged to master.

Since we don't need additional checkouts to get the ACMEv2-compatible
version of the acme module, we can include it in the default RUN set for
local tests.
2018-02-28 15:21:40 -08:00
Jacob Hoffman-Andrews f730abd32c Verify SSL by default in chisel. (#3449)
chisel had verify_ssl=False. Remove that, and set a sensible default
for REQUESTS_CA_BUNDLE to make it easier to run chisel on the command
line. Port the REQUESTS_CA_BUNDLE change into chisel2 as well.
2018-02-15 08:36:04 -05:00
Roland Bracewell Shoemaker 2a8066b54b Refactor revocation integration tests (#3415)
Fixes #3330.
2018-01-31 17:22:07 -08:00
Jacob Hoffman-Andrews b16e788c4b Make chisel2 more adaptable. (#3350)
This makes it easier to use in testing the staging server.
2018-01-09 19:39:41 -05:00
Jacob Hoffman-Andrews 91a3545d8f Return multiple TXT records from dns-test-srv (#3316)
With this change, each call to `/set-txt` adds a record, and `/clear-txt` deletes all records for a hostname.

Part of #3312
2018-01-04 14:00:45 -05:00
Daniel McCarney 488b7259ae
Issue for wildcard name during v2 integration tests. (#3301)
This commit updates `chisel2.py` to support DNS-01 challenges. The code
required was already there, but not "wired in" to the `auth_and_issue`
function. Along the way a bug with `get_chall` raising a string instead
of an exception was fixed.

This commit also updates `test/integration-test-v2.py` with two new tests
1) issuing a certificate with a normal random domain name, and a random wildcard
domain name using DNS-01.
2) issuing a certificate with a random domain name, and in the same certificate,
a wildcard for that domain name. This tests that two authorizations are created 
even though that base domain is the same.
2017-12-21 15:13:56 -05:00
Jacob Hoffman-Andrews b369818ad6 Integration test for ACMEv2 (#3298) 2017-12-21 13:27:32 -05:00
Roland Bracewell Shoemaker e2cc6fbe68 Add test/chisel2.py for ACME v2 testing (#3179)
Pulled out of https://github.com/certbot/certbot/compare/acme-v2 by @jsha, Boulder is the correct place for it to live.
2017-10-19 10:45:51 -07:00