summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/files
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-09-27 10:14:32 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2017-10-16 12:42:37 +0200
commit9d9b6a8eb297e7e90a680730bfc5068deb19a138 (patch)
tree3735d77f600ff18d1219ad3f8ecc346188eadae7 /recipes-sota/aktualizr/files
parent36f1d8668a0ccdfe7f71f886a6829fb33be7cb48 (diff)
downloadmeta-updater-9d9b6a8eb297e7e90a680730bfc5068deb19a138.tar.gz
Support pkcs#11 in aktualizr and add softhsm token for testing
Diffstat (limited to 'recipes-sota/aktualizr/files')
-rw-r--r--recipes-sota/aktualizr/files/sota_hsm_test.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/files/sota_hsm_test.toml b/recipes-sota/aktualizr/files/sota_hsm_test.toml
new file mode 100644
index 0000000..1317914
--- /dev/null
+++ b/recipes-sota/aktualizr/files/sota_hsm_test.toml
@@ -0,0 +1,17 @@
1[tls]
2certificates_directory = "/var/sota/"
3ca_file = "/var/sota/token/root.crt"
4client_certificate = "01"
5cert_source = "pkcs11"
6pkey_file = "02"
7pkey_source = "pkcs11"
8
9[p11]
10module = "/usr/lib/softhsm/libsofthsm2.so"
11pass = "1234"
12
13[uptane]
14metadata_path = "/var/sota/metadata"
15private_key_path = "ecukey.der"
16public_key_path = "ecukey.pub"
17