Commit Graph

35 Commits

Author SHA1 Message Date
Richard Barnes c937d7e0a1 Fixing test failure 2015-06-23 23:44:06 -07:00
Richard Barnes 0b36fd1bd1 Turns out forge defaults to SHA-1 2015-06-23 22:23:23 -07:00
Roland Shoemaker 2d2efa5e85 Merge pull request #356 from letsencrypt/remove-slash
Revoke path should not end in slash
2015-06-12 13:55:10 -07:00
Jacob Hoffman-Andrews 2b2f4110d4 Revoke path should not end in slash. 2015-06-12 13:26:43 -07:00
Roland Shoemaker f4ee29d1d3 Change all references from SimpleHTTPS -> SimpleHTTP 2015-06-12 11:22:04 -07:00
Roland Shoemaker c301125e93 Add TLS field to core.Challenge per spec 2015-06-11 17:12:50 -07:00
Richard Barnes e32c681640 Stray comma 2015-06-08 15:45:55 -04:00
Richard Barnes 9e05b2e191 Removing spurious strictSSL settings 2015-06-08 15:45:09 -04:00
Richard Barnes fca1567cb2 Fixes to integration tests 2015-06-08 15:31:56 -04:00
Richard Barnes a620fe4583 Initial anti-replay mechanism 2015-06-08 15:02:39 -04:00
Jacob Hoffman-Andrews 625eab5ad3 Move boulder to using local signer.
This allows us to use the same PKCS#11 key for both cert signing and OCSP
signing, and simplifies config and startup.

This also starts building with -tags pkcs11 in all scripts, which is required
now that the CA can choose between pkcs11 and non-pkcs11.

In order to successfully issue using a pkcs11 key, you'll need to run a version
of Go built off the master branch. The released versions are missing this
commit:
fe40cdd756,
which is necessary for PKCS#11 signing.
2015-06-05 08:13:39 -07:00
Jacob Hoffman-Andrews 20a4b74a79 Fix failure mode in integration test. 2015-06-02 10:58:55 -07:00
Richard Barnes 3f8c5ea000 Add support for multiple domains on the command line 2015-06-01 21:20:04 -04:00
Richard Barnes 3596d6583a Add support for multi-domain certs to test.js 2015-06-01 21:02:38 -04:00
Jacob Hoffman-Andrews ee57874d03 Misc fixes
Actually return error from NewCertificate in RA.
Export BOULDER_CONFIG in start.sh so it gets used.
Print error properly in test.js.
2015-05-29 00:09:55 -07:00
Jacob Hoffman-Andrews 442ede5bda Display non-JSON response bodies. 2015-05-22 10:30:26 -07:00
Jacob Hoffman-Andrews 153234204d Add an integration test using test.js
Include updates to test.js to make its output more useful as a diagnostic.

It remains a future TODO to do integration testing with the real letsencrypt
client.

Also, work around a go vet bug.
2015-05-21 16:51:40 -07:00
Jacob Hoffman-Andrews 8dd4c650bd Disallow GETs for Registration.
Per the spec, authenticated requests must be signed by an account key, and
GET requests can't be signed under the current protocol. If the account holder
wishes to fetch their current registration, they can do so by posting a signed,
empty update to their registration resource.

Also fix a bug in generating registration URLs.
2015-05-19 12:44:04 -07:00
Jacob Hoffman-Andrews 61be79e51d Check that cert key != account key. 2015-05-18 15:20:02 -07:00
Jacob Hoffman-Andrews d4b0719d78 Add revoke.js to test revocation. 2015-05-14 15:54:12 -07:00
Jacob Hoffman-Andrews 3eed9e3f7c Move to Square's go-jose library. 2015-05-13 17:36:38 -07:00
Jacob Hoffman-Andrews eecf4b305e Add instructions and clarify openssl command line. 2015-04-27 15:50:44 -07:00
Jacob Hoffman-Andrews f81b531abb Fix incorrect request.post invocation.
Also tidy up some error cases and variable names.
2015-04-27 14:47:34 -07:00
Jacob Hoffman-Andrews a59323bfaa Fix key generation in test.js.
Also be more lenient about validating inbound challenge requests when talking to
a localhost Boulder.
2015-04-27 11:43:28 -07:00
Jacob Hoffman-Andrews 6fc9ed5b80 Use openssl to generate test.js key, for speed. 2015-04-24 19:11:51 -07:00
Jacob Hoffman-Andrews 14511361e4 Handle challenges within test.js 2015-04-24 18:39:47 -07:00
Jacob Hoffman-Andrews 2edb869086 Improve test.js.
Use request instead of http so it works with either HTTP or HTTPS URLs.
Write DER certificate rather than PEM certificate. I was getting some bytewise
mismatches when checking the output PEM against a downloaded DER.
2015-04-24 12:40:37 -07:00
Jacob Hoffman-Andrews 7d8ef9a019 Fix tests and tidy up for review. 2015-04-18 23:44:42 -04:00
Jacob Hoffman-Andrews 431ad092eb Query certs by sequential part of serial number.
Also refactor WFE for better initialization and change StorageAuthority to
support this type of query.
2015-04-18 00:48:19 -04:00
Jacob Hoffman-Andrews ce679a55d4 Update readme for test directory. 2015-04-10 16:58:50 -07:00
Jacob Hoffman-Andrews e9302f2288 Make it easier to start a test config. 2015-04-09 18:26:40 -07:00
Jacob Hoffman-Andrews c9fbc82883 Fix encoding of errors in WFE.
This fixes the problem Kuba reported on IRC of receiving messages like:
[123 34 100 101 116 97 105 108 34 58 34 77 101 116 104 111 100 32 110 111 116 32
97 108 108 111 119 101 100 34 125]

from Boulder.

This changelist also adds the beginning of a test to WFE, but much more is
needed.
2015-03-27 20:49:37 -07:00
Richard Barnes b5d67c733a Addressing JCJ comments 2015-03-17 10:17:21 -04:00
Richard Barnes 19fada5b27 Support for subscriber agreement 2015-03-15 23:47:55 -04:00
Richard Barnes bc583a0df3 Simple walkthrough node.js script 2015-03-15 22:56:46 -04:00