What AT command to load certificate file as SSL Client?

caccac267
Posts: 2
Joined: Thu Jan 14, 2016 2:50 am

What AT command to load certificate file as SSL Client?

Postby caccac267 » Tue Feb 02, 2016 11:06 pm

- Firstly, using the firmware provided by Espressif, SSL client, what command to load the certificate data ? Or there is a default address?
- Secondly, there is issue with bootloader 1.5. Everytime I load the firmware, after reset, look like the firmware gone. But when I tried 1.4(b1) it is fine. My ESP is 32Mbit (4MB).
- Finally, because I didn't see any AT command to load certificate / enanble SSL so I have to recompile the firmware, enable by calling the espconn_secure_ca_enable(1,0x65)... This work fine with 1.5.0 but when I tried on 1.5.2 it say "The certificate is not PEM file..." and "Cer expire". Are 1.5.0 and 1.5.2 using different certificate format? I put back 1.5.0 and get data over https well.

Thanks for help!

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: What AT command to load certificate file as SSL Client?

Postby ESP_Faye » Fri Feb 05, 2016 10:22 am

Hi,

1. Sorry that because of the limitation of memory, SSL through AT commands can not load the certificate data.
2. Please use ESP Flash Download Tool to download bin files into Flash. If your problem is still unsolved, please provide the captured picture of ESP Flash Download Tool while downloading.
3. ESP8266_NONOS_SDK_V1.5.2 has SSL issue, we are working on it now, sorry for the inconvenience, please use ESP8266_NONOS_SDK_V1.5.0 first if you need SSL function.

Thanks for your interest in ESP8266 !

caccac267
Posts: 2
Joined: Thu Jan 14, 2016 2:50 am

Re: What AT command to load certificate file as SSL Client?

Postby caccac267 » Fri Feb 05, 2016 11:03 pm

Thank you for the reply!

Come back with the question 1, even when we loaded certificate by the tool, what address it should be, please? if it is any, how SSL detect that address?

Who is online

Users browsing this forum: No registered users and 3 guests