diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-09-27 10:14:32 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-10-16 12:42:37 +0200 |
commit | 9d9b6a8eb297e7e90a680730bfc5068deb19a138 (patch) | |
tree | 3735d77f600ff18d1219ad3f8ecc346188eadae7 /recipes-sota/aktualizr/files | |
parent | 36f1d8668a0ccdfe7f71f886a6829fb33be7cb48 (diff) | |
download | meta-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.toml | 17 |
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] | ||
2 | certificates_directory = "/var/sota/" | ||
3 | ca_file = "/var/sota/token/root.crt" | ||
4 | client_certificate = "01" | ||
5 | cert_source = "pkcs11" | ||
6 | pkey_file = "02" | ||
7 | pkey_source = "pkcs11" | ||
8 | |||
9 | [p11] | ||
10 | module = "/usr/lib/softhsm/libsofthsm2.so" | ||
11 | pass = "1234" | ||
12 | |||
13 | [uptane] | ||
14 | metadata_path = "/var/sota/metadata" | ||
15 | private_key_path = "ecukey.der" | ||
16 | public_key_path = "ecukey.pub" | ||
17 | |||