Skip to contentSkip to conversation

polarssl https download cercificate error.

Buildroot Johan Sagaert 2 participants 4 messages Mar 31, 2015

lore
Share & tools
lore
#0 lore raw

Hi

The link https://tls.mbed.org/download/polarssl-1.2.13-gpl.tgz seems to be OK when
opening this from a browser.
Why is the download complaining ?

Quoted 1 line
Quoted 1 line

polarssl 1.2.13 Downloading

--2015-03-31 11:20:06--
https://tls.mbed.org/download/polarssl-1.2.13-gpl.tgz
Resolving tls.mbed.org... 79.170.91.36
Connecting to tls.mbed.org|79.170.91.36|:443... connected.
ERROR: certificate common name ?polarssl.org? doesn?t match requested host name ?tls.mbed.org?.
To connect to tls.mbed.org insecurely, use ?--no-check-certificate?. --2015-03-31 11:20:06-- http://sources.buildroot.net/polarssl-1.2.13-gpl.tgz
Resolving sources.buildroot.net... 176.9.16.109
Connecting to sources.buildroot.net|176.9.16.109|:80... connected. HTTP request sent, awaiting response... 200 OK
Length: 1023128 (999K) [application/x-gzip]
Saving to:
?/home/buildroot12git2/output/build/.polarssl-1.2.13-gpl.tgz.XKCoSV/output?
........

Regards Johan

#2 lore raw

Gustavo Zacarias schreef op 31/03/2015 om 12:55:

Quoted 8 lines · Johan Sagaert
Quoted 7 lines

Hi

The link https://tls.mbed.org/download/polarssl-1.2.13-gpl.tgz seems to be OK when
opening this from a browser.
Why is the download complaining ?

Quoted 9 lines

Hi.
That's because they were bought by ARM and got renamed to mbed tls. I'll send a patch to update the URL.
Regards.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Dear

That patch is not solving the problem :
It still reverts to downloading from buildroot.
As said before : https://tls.mbed.org/code/releases/polarssl-1.2.13-gpl.tgz
is working in the browser but buildroot fails to download the file.

Regards , Johan

Quoted 1 line
Quoted 1 line

polarssl 1.2.13 Downloading

--2015-03-31 15:29:05--
https://tls.mbed.org/code/releases/polarssl-1.2.13-gpl.tgz
Resolving tls.mbed.org... 79.170.91.36
Connecting to tls.mbed.org|79.170.91.36|:443... connected.
ERROR: certificate common name ?polarssl.org? doesn?t match requested host name ?tls.mbed.org?.
To connect to tls.mbed.org insecurely, use ?--no-check-certificate?. --2015-03-31 15:29:06-- http://sources.buildroot.net/polarssl-1.2.13-gpl.tgz
Resolving sources.buildroot.net... 176.9.16.109
Connecting to sources.buildroot.net|176.9.16.109|:80... connected. HTTP request sent, awaiting response... 200 OK
Length: 1023128 (999K) [application/x-gzip]

#3 lore raw
Quoted 6 lines · Johan Sagaert

Dear

That patch is not solving the problem :
It still reverts to downloading from buildroot.
As said before : https://tls.mbed.org/code/releases/polarssl-1.2.13-gpl.tgz
is working in the browser but buildroot fails to download the file.

Hi.
That's because the wget version on your distribution is old and doesn't understand alt names.
We're looking into a better solution, but for the time being using sources.buildroot.net as a fallback works.
Regards.