ESP8266 Developer Zone The Official ESP8266 Forum 2016-03-03T10:49:18+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1830 2016-03-03T10:49:18+08:00 2016-03-03T10:49:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1830&p=5945#p5945 <![CDATA[Re: 关于SSL输出 : the file is not a PEM file.]]> 所以我的ERROR是INVAILD PROTOCAL吗?
请问这该如何解决 :(

Statistics: Posted by kim68666343 — Thu Mar 03, 2016 10:49 am


]]>
2016-03-02T16:42:09+08:00 2016-03-02T16:42:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1830&p=5918#p5918 <![CDATA[Re: 关于SSL输出 : the file is not a PEM file.]]>
“the file is not a PEM file.” 只是说明证书格式不是 PEM 的,并不影响使用。

建议您加大 SSL buffer,看是否有所帮助?
espconn_secure_set_size(ESPCONN_CLIENT,5120); // set SSL buffer size, if your SSL packet larger than 2048 bytes

Statistics: Posted by ESP_Faye — Wed Mar 02, 2016 4:42 pm


]]>
2016-02-28T20:23:01+08:00 2016-02-28T20:23:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1830&p=5851#p5851 <![CDATA[Re: 关于SSL输出 : the file is not a PEM file.]]> 用自己做的证书bin 也不行

烧录地址是 esp_ca_cert.bin-》0x3A000 另外一个是0x3B000

Statistics: Posted by kim68666343 — Sun Feb 28, 2016 8:23 pm


]]>
2016-02-28T19:23:23+08:00 2016-02-28T19:23:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1830&p=5848#p5848 <![CDATA[关于SSL输出 : the file is not a PEM file.]]> got ip !!!
TLS.ca_x509.cer 1df
the file isnot a PEM file.
certificate 1d7
private_key 262
the file is not a PEM file.
the file is not a PEM file.
client handshake start.
client handshake failed
Error: invalid protocol message
reconnect callback, error code -28 !!!
pm open,type:2 0

Statistics: Posted by kim68666343 — Sun Feb 28, 2016 7:23 pm


]]>