Avoid hardcoded URIs
alexpeattie opened this issue · comments
Alex Peattie commented
Use the directory (https://acme-v01.api.letsencrypt.org/directory) to get the new-*
URIs, the up
link in the new-cert
response, and the headers of the new-reg
for the agreement URL (?).
Improvement suggested by @kelunik
Alex Peattie commented
I ended up falling down a bit of a rabbit hole with this 🐰🕳 and had to write my own gem to parse Link
headers. But the guide's all updated now, and no longer uses any hardcoded URIs, except for the directory 🎉 .