Before upgrading the package, if you run:
strace curl -O /dev/null -Iv https://www.ecod.pl
(I kept your url as a test)
=> stat("/etc/ssl/certs/98ec67f0.0", {st_mode=S_IFREG|0644,
st_size=1155, ...}) = 0
ls -al /etc/ssl/certs/98ec67f0.0
lrwxrwxrwx 1 root root 28 avril 27 2015 /etc/ssl/certs/98ec67f0.0 ->
Thawte_Premium_Server_CA.pem
ls -al /etc/ssl/certs/Thawte_Premium_Server_CA.pem
lrwxrwxrwx 1 root root 63 avril 29 2014
/etc/ssl/certs/Thawte_Premium_Server_CA.pem ->
/usr/share/ca-certificates/mozilla/Thawte_Premium_Server_CA.crt
But, after the upgrade:
stat("/etc/ssl/certs/98ec67f0.0", 0x7fff3c5501d0) = -1 ENOENT (No such
file or directory)
Same file, but can't be found anymore.
I've already tried «sudo update-ca-certificates --fresh», with no luck,
as there's no Thawte Premium CA anymore. The only way is to copy the
file from an older release (see http://curl.haxx.se/docs/caextract.html,
under «RSA-1024 removed»).
So far I don't know if the issue is the missing file or the fact that
the certificate should be in another file, which is badly linked.
Best regards,
Yvan.