Skip to content

Commit

Permalink
bump Pebble version; enable Pebble strict mode (#8)
Browse files Browse the repository at this point in the history
* Bump Pebble version. Enable Pebble strict mode.

* Bumping version. Adjusting to draft-05 TLS-ALPN-01 OID.
  • Loading branch information
felixfontein authored and mattclay committed Aug 22, 2018
1 parent ace5b0b commit 2c694bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.10-stretch as builder
# Install pebble
ARG PEBBLE_CHECKOUT="804565139f41a8db54df28decc1b967e4003f8bd"
ARG PEBBLE_CHECKOUT="35f569333bca2b780147889c42d9f75fa8770057"
ENV GOPATH=/go
RUN go get -u github.com/letsencrypt/pebble/... && \
cd /go/src/github.com/letsencrypt/pebble && \
Expand Down
2 changes: 1 addition & 1 deletion controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _get_alpn_key_cert_from_der_value(domain, data):
key = crypto.PKey()
key.generate_key(crypto.TYPE_RSA, 2048)
# Create self-signed certificates
acme_extension = crypto.X509Extension(b"1.3.6.1.5.5.7.1.30.1", critical=True, value=der_value)
acme_extension = crypto.X509Extension(b"1.3.6.1.5.5.7.1.31", critical=True, value=der_value)
cert_challenge = gen_ss_cert(key, [domain], extensions=[acme_extension])
return key, cert_challenge

Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export CONTROLLER_PORT=5000
export PEBBLE_VA_SLEEPTIME=5
# Start Pebble
cd /go/src/github.com/letsencrypt/pebble
/go/bin/pebble -config /go/src/github.com/letsencrypt/pebble/test/config/pebble-config.json
/go/bin/pebble -config /go/src/github.com/letsencrypt/pebble/test/config/pebble-config.json -strict true

0 comments on commit 2c694bb

Please sign in to comment.