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

Added deleting provisioning data

parent 891057f4
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
Set up initialize.jsch for apdu_player 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 ## provisioning
Run init-A71CH-iot-hub Run init-A71CH-iot-hub
......
...@@ -15,4 +15,8 @@ fi ...@@ -15,4 +15,8 @@ fi
cd ${SNAP_COMMON}/certs cd ${SNAP_COMMON}/certs
rm -f cert_*.pem
rm -f keyref_*.pem
rm -f SampleConfig.json
$SNAP/$PATH_TO_BIN/nxp_iot_agent_demo $SNAP/$PATH_TO_BIN/nxp_iot_agent_demo
...@@ -88,21 +88,21 @@ apps: ...@@ -88,21 +88,21 @@ apps:
plugs: *default-plugs plugs: *default-plugs
A71CHConfigToolJRCP: A71CHConfigToolJRCP:
environment: environment:
JRCP_HOSTNAME: 172.27.1.199 JRCP_HOSTNAME: 127.0.0.1
OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib
command: "jrcp/lib/A71CHConfigTool" command: "jrcp/lib/A71CHConfigTool"
plugs: *default-plugs plugs: *default-plugs
init-A71CH-openssl: init-A71CH-openssl:
environment: environment:
JRCP_HOSTNAME: 172.27.1.199 JRCP_HOSTNAME: 127.0.0.1
OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib
command: "bin/init_A71CH_openssl" command: "bin/init_A71CH_openssl"
plugs: *default-plugs plugs: *default-plugs
init-A71CH-iot-hub: init-A71CH-iot-hub:
environment: environment:
JRCP_HOSTNAME: 172.27.1.199 JRCP_HOSTNAME: 127.0.0.1
OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf OPENSSL_CONF: $SNAP/certs/opensslA71CH.cnf
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/jrcp/lib
command: "bin/init_A71CH_iot_hub" 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