Skip to content

Sample connection to AWS using X.509 certificate #25

Answered by adam-fowler
FleetPhil asked this question in Q&A
Discussion options

You must be logged in to vote

Ok here is an end to end version of getting AWS IoT working with X.509 certificates. At least it worked for me

  • Workout your endpoint. You need the AWS CLI for this aws iot describe-endpoint --endpoint-type iot:Data-ATS. Remember this you'll need it later
  • Create a thing.
    • Select IOT Core -> Manage -> Things
    • Select Create a single thing
    • Give your thing a name
    • Press Next
    • Select create certificate
    • Download the certificate, public key and private key
    • Also download the Amazon CA certificate found here
    • Press Activate
  • Create a Policy
    • Select IOT Core -> Secure -> Policies
    • Select Create
    • Give you policy a name and setup as follows (replacing {account-number} with your AWS account number)
{
  …

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
10 replies
@adam-fowler
Comment options

@FleetPhil
Comment options

@FleetPhil
Comment options

@adam-fowler
Comment options

@FleetPhil
Comment options

Comment options

You must be logged in to vote
3 replies
@FleetPhil
Comment options

@adam-fowler
Comment options

@FleetPhil
Comment options

Answer selected by FleetPhil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants