Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACME v2 & saving registration #62

Merged
merged 8 commits into from
May 17, 2019
Merged

ACME v2 & saving registration #62

merged 8 commits into from
May 17, 2019

Conversation

jalada
Copy link
Collaborator

@jalada jalada commented May 10, 2019

Context: #59, #60

This PR splits up the great work from @mashedkeyboard in #60, which also includes a stab at DNS-based validations.

Specifically, this PR:

  1. Adds an ACME_TERMS_AGREED environment variable which must be set.
  2. Removes the ACME_ENDPOINT environment variable. We never tested this works with anything other than LetsEncrypt, and LetsEncrypt diverges from ACME v2. Also, the clue is in the name of the gem.
  3. Moves to V2 of the ACME API, which paves the way for DNS-based validations.
  4. Saves the private key & key ID when registering, for re-use on subsequent runs.

Pretty much ready to go.

@jalada jalada mentioned this pull request May 14, 2019
puts "Done!"
end

client = Acme::Client.new(private_key: private_key,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Add a comment here; why are we remaking the client?

@jalada jalada merged commit e174cba into master May 17, 2019
@jalada jalada deleted the acme-v2 branch May 17, 2019 09:35
This was referenced May 17, 2019
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.

1 participant