Commit f33401c2 authored by apapkovskiy's avatar apapkovskiy
Browse files

Changed default JRCP port to 8050

parent 59abe902
# rigado-hsm-server
## pre-provisioning A71CH
Set up initialize.jsch for apdu_player
sudo snap set rigado-hsm-server device-jcsh="$(cat initialize.jsch)"
## provisioning
Run init-A71CH-iot-hub
## provisioning without IoT HUB (see readme.rst)
1. Run init-A71CH-openssl
2. Copy CACertificate_ECC.key and CACertificate_ECC.crt from $SNAP_COMMON/certs to any local folder
3. Set up AWS account
#Create verification certificate
openssl req -new -key VerificationKeys.key -subj "/CN=REGISTRATION CODE" -out VerificationCSR.pem
openssl x509 -req -in VerificationCSR.pem -CA CACertificate_ECC.crt -CAkey CACertificate_ECC.key -CAcreateserial -out Verificationcertificate.crt -days 3650 -sha256
#Register & Activate CA certificate and enable auto-registration
aws iot register-ca-certificate --ca-certificate file://CACertificate_ECC.crt --verification-cert file://Verificationcertificate.crt
aws iot describe-ca-certificate --certificate-id <cert id>
aws iot update-ca-certificate --certificate-id <cert id> --new-status ACTIVE
aws iot update-ca-certificate --certificate-id <cert id> --registration-config file://registration_config.json
aws iot update-ca-certificate --certificate-id <cert id> --new-auto-registration-status ENABLE
See more about `JITP template <>`
......@@ -47,7 +47,7 @@
#include "fsl_sss_ftr_default.h"
const char* PORT = "8051"; // the port users will be connecting to
const char* PORT = "8050"; // the port users will be connecting to
const int BACKLOG = 1;
#define APP_BUFFER 2048
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