Skip to content

Commit b868596

Browse files
committed
Build and run cfssl on correct port.
1 parent b20fc4b commit b868596

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

start.py

100644100755
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ def start():
3030
# A strange Go bug: If cfssl is up-to-date, we'll get a failure building
3131
# Boulder. Work around by touching cfssl.go.
3232
subprocess.Popen('touch Godeps/_workspace/src/github.com/cloudflare/cfssl/cmd/cfssl/cfssl.go', shell=True).wait()
33+
34+
cmd = 'go build -o %s/cfssl ./Godeps/_workspace/src/github.com/cloudflare/cfssl/cmd/cfssl' % (tempdir)
35+
print(cmd)
36+
if subprocess.Popen(cmd, shell=True).wait() != 0:
37+
die()
38+
3339
global processes
3440
processes = [
3541
run('./cmd/boulder-wfe'),
@@ -41,7 +47,7 @@ def start():
4147
exec %s/cfssl \
4248
-loglevel 0 \
4349
serve \
44-
-port 9300 \
50+
-port 9000 \
4551
-ca test/test-ca.pem \
4652
-ca-key test/test-ca.key \
4753
-config test/cfssl-config.json

0 commit comments

Comments
 (0)