diff options
author | Craig Smith <dashaxiong@users.noreply.github.com> | 2017-01-12 05:26:55 +0300 |
---|---|---|
committer | Peter Eckersley <pde@users.noreply.github.com> | 2017-01-12 05:26:55 +0300 |
commit | 94c23479e21d0387d3718639f1fb755c8895ca7b (patch) | |
tree | 2faf4d22a2c8cb5329ea3bdd7825a07f352a876b /tests | |
parent | feaf69db08e0d2041bd9ce15ed44531a0adfc703 (diff) |
Add option to specify revocation reason (#3242) (#3988)
This includes two new tests in the integration test script to check that
boulder gets the correct code. The encoding is specified in RFC5280
5.3.1. The codes that boulder will accept are a subset of that,
specified in `boulder.revocation.reasons.go`.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/boulder-integration.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/boulder-integration.sh b/tests/boulder-integration.sh index fe2f223ef..30fc17f81 100755 --- a/tests/boulder-integration.sh +++ b/tests/boulder-integration.sh @@ -162,7 +162,14 @@ common revoke --cert-path "$root/conf/live/le1.wtf/cert.pem" # revoke by cert key common revoke --cert-path "$root/conf/live/le2.wtf/cert.pem" \ --key-path "$root/conf/live/le2.wtf/privkey.pem" - +# Get new certs to test revoke with a reason, by account and by cert key +common --domains le1.wtf +common revoke --cert-path "$root/conf/live/le1.wtf/cert.pem" \ + --reason cessationOfOperation +common --domains le2.wtf +common revoke --cert-path "$root/conf/live/le2.wtf/cert.pem" \ + --key-path "$root/conf/live/le2.wtf/privkey.pem" \ + --reason keyCompromise if type nginx; then . ./certbot-nginx/tests/boulder-integration.sh |