aboutsummaryrefslogtreecommitdiff
path: root/client/get-sth
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-05 17:19:55 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-05 17:19:55 +0100
commitda6392a7ca65599e950542dc59e62ea3713947f1 (patch)
treeaf760cbc2c7a86b8537986d556aee441f8b0dcb7 /client/get-sth
parente34ec5b2159ac2c7272c3abef1084ba6b763fc56 (diff)
allowed client configuration without certificate chain
Diffstat (limited to 'client/get-sth')
-rw-r--r--client/get-sth/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/get-sth/main.go b/client/get-sth/main.go
index 7bfcc71..d13746b 100644
--- a/client/get-sth/main.go
+++ b/client/get-sth/main.go
@@ -14,13 +14,12 @@ import (
var (
operators = flag.String("operators", "../../descriptor/stfe.json", "path to json-encoded list of log operators")
logId = flag.String("log_id", "B9oCJk4XIOMXba8dBM5yUj+NLtqTE6xHwbvR9dYkHPM=", "base64-encoded log identifier")
- chain = flag.String("chain", "../../server/testdata/x509/end-entity.pem", "path to pem-encoded certificate chain that the log accepts")
)
func main() {
flag.Parse()
- client, err := client.NewClientFromPath(*logId, *chain, "", *operators, &http.Client{}, true)
+ client, err := client.NewClientFromPath(*logId, "", "", *operators, &http.Client{}, true)
if err != nil {
glog.Fatal(err)
}