cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF04Sx - AT-S.Http Client Error:1

yoann LBY
Senior
Posted on January 16, 2018 at 18:30

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

12 REPLIES 12
Posted on January 23, 2018 at 08:19

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

yoann LBY
Senior
Posted on February 09, 2018 at 17:09

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 

Elio Cometti
Senior II
Posted on February 20, 2018 at 17:11

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