-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS IoT which files to use after generating ? #114
Comments
Hi @shirish47 , |
Yes I am using that guide but for example in esp32 idf extensions of files is different. check in the Readme Section Installing private key & certificate |
https://www.esp32.com/viewtopic.php?f=2&t=3832&p=17463#p17463 as per this ESP_agus suggested me to use AWS rootCA cert as rootCa generated by me following those instruction would not work. Well I did registered that CA in AWS IoT. but it does not work as I have put in that forum. nor the one that I got from AWS worked with the deviceCert obviously as they are not signed but rootCA.pem provided from AWS. but AWS IoT only gives rootCA.pem file and not key which I think is required during generation of device Cert. |
Hi @shirish47 ,
The error (0x2700) that you are seeing in the forum post implies that the root CA is incorrect. Could you make sure that the aws-root-ca.pem that you are using was obtained from here? |
Hi so I used the CA from the link you provided and I get
I tried finding file that could give me all macro of mbedtls_ssl_handshake errors but did not find -0x50 |
though there is one notable difference in commands, here it says while in instruction that are shown in AWS IoT Console Register a CA certificate and thus for generating device certificate according to here and renaming those file worked. |
for some one who might get in trouble like me. I would soon make a script for ease. I found one and I will modify it. |
Hi @shirish47 , |
I have generated certificates and updated in IoT Console but I am not sure which files to use with esp32 in its example publish_subscribe.
I am trying to learn to use Own CA certificate with AWS IoT.
also the files I generated have different extensions than one used by example (.pem .pem.crt, and .key). old folder contains file generated from the Console itself. Please guide me how does it need any other format.
Please please please I have posted it on forum also I am looking for some answer.
The text was updated successfully, but these errors were encountered: