diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 20:01:08 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 20:01:08 +0100 |
commit | 0168f18229402b299a3fb3bb6fe3edb8e3ffa7fc (patch) | |
tree | 19ffe21cf8cebf43859e00bc1ddac20593161ac5 /client/add-entry | |
parent | 71ed441c7d0ce507d72f02fb06679b6479fefc19 (diff) |
added chain processing with intermediate certificates
Basic test chains can be generated manually with openssl, see details in
server/testdata/x509/README.md.
Diffstat (limited to 'client/add-entry')
-rw-r--r-- | client/add-entry/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/add-entry/main.go b/client/add-entry/main.go index 11162e5..463b65c 100644 --- a/client/add-entry/main.go +++ b/client/add-entry/main.go @@ -15,8 +15,8 @@ import ( var ( operators = flag.String("operators", "../../server/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/chain/ee.pem", "path to pem-encoded certificate chain that the log accepts") - key = flag.String("key", "../../server/testdata/chain/ee.key", "path to ed25519 private key that corresponds to the chain's end-entity certificate") + chain = flag.String("chain", "../../server/testdata/x509/chain.pem", "path to pem-encoded certificate chain that the log accepts") + key = flag.String("key", "../../server/testdata/x509/end-entity.key", "path to ed25519 private key that corresponds to the chain's end-entity certificate") name = flag.String("name", "foobar-1.2.3", "package name") checksum = flag.String("checksum", "50e7967bce266a506f8f614bb5096beba580d205046b918f47d23b2ec626d75e", "base64-encoded package checksum") ) |