Commit 426db21e authored by apapkovskiy's avatar apapkovskiy
Browse files

Added deleting provisioning data

parent 891057f4
......@@ -4,7 +4,7 @@
Set up initialize.jsch for apdu_player
```
sudo snap set rigado-hsm-server device-jcsh="$(cat initialize.jsch)"
sudo snap set rigado-hsm-server device-jcsh="$(cat initialize.jcsh)"
```
## provisioning
Run init-A71CH-iot-hub
......
......@@ -15,4 +15,8 @@ fi
cd ${SNAP_COMMON}/certs
rm -f cert_*.pem
rm -f keyref_*.pem
rm -f SampleConfig.json
$SNAP/$PATH_TO_BIN/nxp_iot_agent_demo
......@@ -88,21 +88,21 @@ apps:
plugs: *default-plugs
A71CHConfigToolJRCP:
environment:
JRCP_HOSTNAME: 172.27.1.199
JRCP_HOSTNAME: 127.0.0.1
OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib
command: "jrcp/lib/A71CHConfigTool"
plugs: *default-plugs
init-A71CH-openssl:
environment:
JRCP_HOSTNAME: 172.27.1.199
JRCP_HOSTNAME: 127.0.0.1
OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib
command: "bin/init_A71CH_openssl"
plugs: *default-plugs
init-A71CH-iot-hub:
environment:
JRCP_HOSTNAME: 172.27.1.199
JRCP_HOSTNAME: 127.0.0.1
OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib
command: "bin/init_A71CH_iot_hub"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment