AWS IoT Core Series Part 3

AWS IoT Core Series Part 3

Creating a Security Certificate and Policy for your thing

Prerequite : Series Part 2

Step 1: Click on the Thing we created in Part 1

step 1.png

Step 2: Under the Thing. Click the Certificates Tab.

step2.png

Step 3: Click on create Certificate

step 3.png

Step 4: Activate the certificate.Download all the certificates and keep them securely including

>

  • Certificate file (*.pem)
  • Certificate public key file (*.key)
  • Certificate private key file (*.key)
  • Root certificate (.pem) or (.crt)

step4.png

Step 5: Click done

step55.png

Step 6: A certificate should have been created.

step6.png

Step 7: At this point, we are now going to create policies or rules and attach it to the certificate we just created. So head over to Security in the left navigation bar and click Policies.

step7.png

Step 8: Click "create" and add the policy name as well as policies to allow or deny connecting, publishing, and receiving.

step9.png

Step 10: Click the "add the new statement " to add all required policies then click create.

step 10.png

Step 11: You should now be able to see the created Policy. Next, we shall add the policy to our certificate.

step11.png

Step 12 : Head over to things and in the certificate, tab click on your certificate

step12.png

Step 13: Click on "attach policies".

step13.png Step 14: Choose the policy you just created. Then click on "attach policy".

step133.png

Step 15: You should now have your policy attached to the certificate and ready to connect via your development environment.

step15.png