Statistics: Posted by ritesh — Thu Mar 02, 2017 10:38 pm
Code:
espconn_set_opt(connPtr, ESPCONN_REUSEADDR);
Code:
system_get_free_heap_size: 9632.
Client connected.
Request received.
Response sent.
Client disconnected.
system_get_free_heap_size: 9408.
Statistics: Posted by gustavo — Thu Nov 03, 2016 8:54 pm
Statistics: Posted by ESP_Faye — Thu Sep 10, 2015 4:24 pm
Espressif_Faye wrote:
Hi,
Is the "https://ssl.test.com" your SSL server ? We can not access to it by browser.
What is the IP, port and CA cert of your SSL server?
Statistics: Posted by zaxl — Fri Aug 28, 2015 1:23 pm
Statistics: Posted by ESP_Faye — Fri Aug 28, 2015 12:44 pm
Espressif_Faye wrote:
Hi,
Is the "https://ssl.test.com" your SSL server ? We can not access to it by browser.
What is the IP, port and CA cert of your SSL server?
Check your private messages about my server and ca cert details.Code:
espconn_secure_ca_enable(ESPCONN_CLIENT, CA_FLASH_ADDR); // flash sector which stored "esp_ca_cert.bin"
espconn_secure_cert_req_enable(ESPCONN_CLIENT, CERT_FLASH_ADDR); // flash sector which stored "esp_cert_private_key.bin"
espconn_secure_connect(&conn);
How to get "esp_ca_cert.bin", please refer to documentation "5A-ESP8266__SDK__SSL_User_Manual" in \esp_iot_sdk_v1.3.0\document, tools in \esp_iot_sdk_v1.3.0\tools.
How to get "esp_cert_private_key.bin", please refer to the attachment.
Statistics: Posted by zaxl — Thu Aug 27, 2015 8:54 pm
Code:
espconn_secure_ca_enable(ESPCONN_CLIENT, CA_FLASH_ADDR); // flash sector which stored "esp_ca_cert.bin"
espconn_secure_cert_req_enable(ESPCONN_CLIENT, CERT_FLASH_ADDR); // flash sector which stored "esp_cert_private_key.bin"
espconn_secure_connect(&conn);
Statistics: Posted by ESP_Faye — Wed Aug 26, 2015 5:31 pm
Espressif_Faye wrote:
Hi,
There are two new APIs in the new lib that may help, please have a try.
Statistics: Posted by zaxl — Tue Aug 25, 2015 8:29 pm
Statistics: Posted by ESP_Faye — Tue Aug 25, 2015 8:05 pm
Espressif_Faye wrote:
Hi,
Please have a try with this new libssl, based on esp_iot_sdk_v1.3.0
Statistics: Posted by zaxl — Mon Aug 24, 2015 2:49 pm
Statistics: Posted by ESP_Faye — Mon Aug 24, 2015 10:12 am
Statistics: Posted by zaxl — Wed Aug 19, 2015 5:43 pm
Statistics: Posted by ESP_Faye — Wed Aug 19, 2015 4:28 pm
Statistics: Posted by zaxl — Tue Aug 18, 2015 2:48 pm
Statistics: Posted by ESP_Faye — Tue Aug 18, 2015 2:06 pm
Espressif_Faye wrote:
Hi,
Please call espconn_regist_disconcb before espconn_secure_connect, for exampleCode:
espconn_regist_connectcb(pespconn, user_tcp_connect_cb);
espconn_regist_reconcb(pespconn, user_tcp_recon_cb);
// register disconnect cb here, because that SSL handshake may fail.
espconn_regist_disconcb(pespconn, user_tcp_discon_cb);
//espconn_secure_set_size(ESPCONN_CLIENT,5120);
espconn_secure_connect(pespconn); // tcp SSL connect
If your problem is still unsolved, please provide your test code, we will have a try.
Statistics: Posted by zaxl — Mon Aug 17, 2015 6:36 pm
Code:
espconn_regist_connectcb(pespconn, user_tcp_connect_cb);
espconn_regist_reconcb(pespconn, user_tcp_recon_cb);
// register disconnect cb here, because that SSL handshake may fail.
espconn_regist_disconcb(pespconn, user_tcp_discon_cb);
//espconn_secure_set_size(ESPCONN_CLIENT,5120);
espconn_secure_connect(pespconn); // tcp SSL connect
Statistics: Posted by ESP_Faye — Fri Aug 14, 2015 11:27 am
Statistics: Posted by zaxl — Thu Aug 13, 2015 1:42 pm
Statistics: Posted by ESP_Faye — Thu Aug 13, 2015 10:50 am
Statistics: Posted by zaxl — Thu Aug 13, 2015 4:44 am
rudi wrote:hdrut wrote:Hi Rudi yes! That was the problem....
..How are you doing? Have you managed to do some progress on copy protection for ESP?
I am now trying SSL communication, just started...
Cheers, i am going to celebrate my birthday today !!
Hi Horacio ! All the Best from me to you!
Happy Birthday to you!
https://www.youtube.com/watch?v=Vdsqbh_0zzg
Thanks i am fine, hope u too
Yes, copy protect runs like a charme)))
hope for open src the bootloader code from espressif, will be touch more possibles.
SSL works fine, Horacio, 'huafan' has made fine examples too, have a look and a try:
viewtopic.php?f=7&t=386
celebrate your birthday fine! - see you 'jumping' and hear you singing![]()
![]()
la la lalalala yeap ...
best wishes!
rudi
edit: see at this too:
viewtopic.php?f=16&p=3173#p3173
Statistics: Posted by hdrut — Thu Aug 13, 2015 2:37 am
Statistics: Posted by rudi — Wed Aug 12, 2015 9:29 pm
rudi wrote:hdrut wrote:Hi,
I'm trying to implement the SSL example provided by Espressif, but get the following errors I can't debug:
undefined reference to `espconn_secure_sent'
undefined reference to `espconn_secure_connect'
Any help is appreciated.
Rgds
think you simple forget "to add" the ssl lib in makefile?
example:Code:
LIBS = c gcc hal phy pp net80211 lwip wpa upgrade main ssl
write please, how you get on in this.
best wishes
rudi
Statistics: Posted by hdrut — Wed Aug 12, 2015 8:14 pm
Code:
LIBS = c gcc hal phy pp net80211 lwip wpa upgrade main ssl
Statistics: Posted by rudi — Wed Aug 12, 2015 3:15 pm
Statistics: Posted by hdrut — Wed Aug 12, 2015 12:33 am
Statistics: Posted by ESP_Faye — Mon Aug 10, 2015 4:33 pm
Statistics: Posted by mharizanov — Mon Aug 10, 2015 2:28 pm
Statistics: Posted by ESP_Faye — Sun Aug 09, 2015 8:52 am
Statistics: Posted by zaxl — Wed Aug 05, 2015 2:01 pm
Statistics: Posted by ESP_Faye — Mon Aug 03, 2015 10:06 am
Statistics: Posted by zaxl — Thu Jul 23, 2015 4:41 pm