-
Notifications
You must be signed in to change notification settings - Fork 0
/
post_provision.sh
executable file
·8 lines (8 loc) · 1.03 KB
/
post_provision.sh
1
2
3
4
5
6
7
8
#curl -X POST -H 'Content-Type: application/corim-unsigned+cbor; profile=http://arm.com/psa/iot/1' --data-binary "@cbor_bin" localhost:8888/endorsement-provisioning/v1/submit
/home/ec2-user/go/bin/cocli comid create --template MyComidPsaIak.json
/home/ec2-user/go/bin/cocli comid create --template AWSNitroComid.json
/home/ec2-user/go/bin/cocli corim create -m MyComidPsaIak.cbor -t corimMini.json -o psa_corim.cbor
curl -X POST -H 'Content-Type: application/corim-unsigned+cbor; profile=http://arm.com/psa/iot/1' --data-binary "@psa_corim.cbor" localhost:8888/endorsement-provisioning/v1/submit
#curl -X POST -H 'Content-Type: application/corim-unsigned+cbor; profile=http://arm.com/psa/iot/1' --data-binary "@psa_corim.cbor" localhost:8888/endorsement-provisioning/v1/submit
/home/ec2-user/go/bin/cocli corim create -m AWSNitroComid.cbor -t corimMini.json -o nitro_corim.cbor
curl -X POST -H 'Content-Type: application/corim-unsigned+cbor; profile=http://aws.com/nitro' --data-binary "@nitro_corim.cbor" localhost:8888/endorsement-provisioning/v1/submit