Estou tentando executar:
wget https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD
Substitui o wget 1.12 por 1.16 na minha máquina centos.
Eu configurei a opção check-certificate
para off
em
vi /etc/wgetrc
Eu posso usar o https
normalmente com o wget
wget https://google.com
Não apresenta um erro de SSL no google.com.
De fato, posso acessar o link no navegador bem. Por que parece falhar com o wget então?
Com este comando, obtenho:
[root@warehouse ~]# wget 'https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD'
[2] 1487
[3] 1488
[4] 1489
[3] Done reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites
[root@warehouse ~]# --2016-10-06 18:27:48-- https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK
Resolving app.adroll.com (app.adroll.com)... 52.11.56.178, 52.89.249.63
Connecting to app.adroll.com (app.adroll.com)|52.11.56.178|:443... connected.
Unable to establish SSL connection.
Editar: Tentei com aspas simples e duplas também. Não faz diferença:
[root@warehouse ~]# wget 'https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD'
--2016-10-06 18:32:38-- https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD
Resolving app.adroll.com (app.adroll.com)... 52.89.249.63, 52.11.56.178
Connecting to app.adroll.com (app.adroll.com)|52.89.249.63|:443... connected.
Unable to establish SSL connection.
Edit2: Tentei também com o certificado "no-check":
[root@warehouse ~]# wget --no-check-certificate "https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD"
--2016-10-06 18:35:23-- https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD
Resolving app.adroll.com (app.adroll.com)... 52.11.56.178, 52.89.249.63
Connecting to app.adroll.com (app.adroll.com)|52.11.56.178|:443... connected.
Unable to establish SSL connection.
Editar 3:
using curl -v "https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD"
* About to connect() to app.adroll.com port 443 (#0)
* Trying 52.11.56.178... connected
* Connected to app.adroll.com (52.11.56.178) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -5938
* Closing connection #0
* SSL connect error
curl: (35) SSL connect error