2018-01-16 09:30 AM
Hi,
SPWF04Sx with FW1.1.0, mode miniAP
i loaded certificat in the wifi module
CA, cert and key based on
ECC (
prime256v1 aka NIST P-256)
and i run cmd
AT+S.HTTPGET
.I have error:
+WIND:29:DHCP Reply:192.168.0.2:02:A9:D2:A0:FF:A0
AT+S.HTTPGET=192.168.0.2,tls/cert.pem,443,2,,,ServerCert.pem,
AT-S.Http Client Error:1
AT-S.ERROR:111:Request failed
192.168.0.2 is IP of computer connected to wifi of the module wifi and module wifi try to connect (HTTPS client) to the computer to download ServerCert.pem file.
Do you see a problem?
Thks
Yoann
Solved! Go to Solution.
2018-01-23 12:19 AM
hi,
i tested with a certificate bundle x3. sizeis 2488Bytes. same error WIND:8:Hard Fault:TcpIp....
I tested with a certificate bundle x2. size is 1698Bytes and it works.
You said'This kind of certificate is also supported if it's size is less than 2.5K.'
What is themax size supported?
thks
Yoann
2018-02-09 08:09 AM
Hi Elio,
did you receive with Gerardo GALLUCCI the certificat set i sent him?
with size <2.5KB ECC bundle x3, what is the problem?
Thanks
Yoann
2018-02-20 08:11 AM
Hi Yoann,
my apologizes for the delay.
I was not well informed. Actually the 2.5K limits refer to each certificate in the bundle received from a peer. This apply to certificates received from a server (1way/mutual authentication) and to certificates received from a client (mutual authentication).
Instead, the size of the certificate bundle stored in 'cert' section or in 'tls.cert' file must be limited to 1475 bytes.
Regards,
Elio