This PR splits up the great work from @mashedkeyboard in #60, which also includes a stab at DNS-based validations.
Specifically, this PR:
Adds an ACME_TERMS_AGREED environment variable which must be set.
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.
Moves to V2 of the ACME API, which paves the way for DNS-based validations.
Saves the private key & key ID when registering, for re-use on subsequent runs.
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:
ACME_TERMS_AGREED
environment variable which must be set.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.Pretty much ready to go.