Eu queria baixar um arquivo, normalmente usaria o wget para uma ação desse tipo, mas isso me causa um erro de TLS.
root@darren-hp:/var/www/html/adminer# wget "https://raw.githubusercontent.com/vrana/adminer/master/designs/price/adminer.css"
--2017-09-17 18:28:35-- https://raw.githubusercontent.com/vrana/adminer/master/designs/price/adminer.css
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.241
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.241|:443... connected.
GnuTLS: A TLS fatal alert has been received.
GnuTLS: received alert [0]: Close notify
Unable to establish SSL connection.
root@darren-hp:/var/www/html/adminer#
Eu tentei enrolar e ele recebeu o arquivo sem nenhum problema
root@darren-hp:/var/www/html/adminer# curl "https://raw.githubusercontent.com/vrana/adminer/master/designs/price/adminer.css" > adminer.css
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21606 100 21606 0 0 72967 0 --:--:-- --:--:-- --:--:-- 72993
root@darren-hp:/var/www/html/adminer#
Então minha curiosidade foi despertada e eu tentei o wget no modo de depuração, mas não acho que a saída forneça mais informações relevantes
root@darren-hp:/var/www/html/adminer# wget -d "https://raw.githubusercontent.com/vrana/adminer/master/designs/price/adminer.css"
DEBUG output created by Wget 1.16 on linux-gnu.
URI encoding = ‘UTF-8’
--2017-09-17 18:30:14-- https://raw.githubusercontent.com/vrana/adminer/master/designs/price/adminer.css
Certificates loaded: 174
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.241
Caching raw.githubusercontent.com => 62.252.172.241
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.241|:443... connected.
Created socket 4.
Releasing 0x000000000178a9e0 (new refcount 1).
GnuTLS: A TLS fatal alert has been received.
GnuTLS: received alert [0]: Close notify
Closed fd 4
Unable to establish SSL connection.
root@darren-hp:/var/www/html/adminer#
Eu visitei o arquivo no meu navegador (Firefox 52.3.0esr) e ele não ofereceu nenhuma indicação de que houve algum tipo de problema com o certificado.
Paraconfirmarquenãofoiumproblema,useiowgetparabaixarumarquivodiferentequetambémestavaemumservidorusandooTLSebaixeisemproblemas.
DepoisdefinalmenterecorreraoGoogle,encontrei--check-no-certificate
e não fez diferença.