Skip to content

Implement POST-as-GET requests#6522

Merged
ohemorange merged 12 commits intocertbot:masterfrom
adferrand:post-as-get
Nov 30, 2018
Merged

Implement POST-as-GET requests#6522
ohemorange merged 12 commits intocertbot:masterfrom
adferrand:post-as-get

Conversation

@adferrand
Copy link
Copy Markdown
Collaborator

Relevant issue: #6452

This PR implements POST-as-GET requests for ACME v2 protocol.

With ACME v1, GET requests will be used directly. Furthermore with ACME v2, a GET request will be used if POST-as-GET failed, to handle gracefully ACME CA servers that do not implement yet the new ACME specification.

Also this PR adds scripts to execute the tests against Pepple, the integration ACME CA server of Let'sEncrypt for new features. Nothing is added to the CI yet, as the tests will fail because tls-sni-01 challenges are not accepted anymore by Pebble. But maybe in a future request, with adapted integration tests that would be also translated into Python.

cc @bmw @ohemorange

@adferrand adferrand closed this Nov 20, 2018
@adferrand adferrand deleted the post-as-get branch November 20, 2018 10:47
@adferrand adferrand restored the post-as-get branch November 20, 2018 15:33
@adferrand adferrand reopened this Nov 20, 2018
@ohemorange ohemorange self-requested a review November 21, 2018 05:02
@ohemorange ohemorange self-assigned this Nov 21, 2018
adferrand pushed a commit to adferrand/certbot that referenced this pull request Nov 22, 2018
Copy link
Copy Markdown
Contributor

@ohemorange ohemorange left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The design for acme/acme/client.py, which I should really just write up and stick at the top, is that ClientBase is strictly for things that are identical under both v1 and v2. Comments on how to do that inline.

Larger question: why is Pebble integration in this PR? Were you using it to test against by commenting out parts of certbot-boulder-integration? If we're going to include it, let's put something helpful there, like some test that does run properly.

@ohemorange ohemorange merged commit 0b5468e into certbot:master Nov 30, 2018
adferrand pushed a commit to adferrand/certbot that referenced this pull request Nov 30, 2018
ohemorange added a commit that referenced this pull request Nov 30, 2018
@adferrand adferrand deleted the post-as-get branch December 4, 2018 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants