关于SSL输出 : the file is not a PEM file.

kim68666343
Posts: 4
Joined: Fri Feb 26, 2016 1:16 pm

关于SSL输出 : the file is not a PEM file.

Postby kim68666343 » Sun Feb 28, 2016 7:23 pm

请问这个是什么原因呢?
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

kim68666343
Posts: 4
Joined: Fri Feb 26, 2016 1:16 pm

Re: 关于SSL输出 : the file is not a PEM file.

Postby kim68666343 » Sun Feb 28, 2016 8:23 pm

我使用的两个证书bin都是从官网下载的bin 不行
用自己做的证书bin 也不行

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

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

Re: 关于SSL输出 : the file is not a PEM file.

Postby ESP_Faye » Wed Mar 02, 2016 4:42 pm

您好,

“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

kim68666343
Posts: 4
Joined: Fri Feb 26, 2016 1:16 pm

Re: 关于SSL输出 : the file is not a PEM file.

Postby kim68666343 » Thu Mar 03, 2016 10:49 am

谢谢,我会再查证我的问题。
所以我的ERROR是INVAILD PROTOCAL吗?
请问这该如何解决 :(

Who is online

Users browsing this forum: No registered users and 189 guests