Commit Graph

3 Commits

Author SHA1 Message Date
Jacob Hoffman-Andrews 50722c7496 Add trailing commas. 2015-08-28 10:45:39 -07:00
Jacob Hoffman-Andrews a87baa34fa Update with review feedback. 2015-08-28 10:42:13 -07:00
Jacob Hoffman-Andrews 8f5e4404c9 Test.js fixes
Always pass Content-Length header
Always use tls: true
Don't write terms of service contents to terminal: it might be a PDF
Separate out signing, posting, and printing code into acme.js
Use acme.js in revoke.js for better error reporting.
Check for PEM passed to revoke.js.

This is in response to some trouble JC had using the client to test in prod. In
particular, Akamai insists on Content-Length (we turned this off for a while to
match Boulder, but now it's back on), and the PEM / DER distinction was a
stumbling block.
2015-08-27 19:20:53 -07:00