|
IOTN :: Field Book :: ¿î¿µÃ¼Á¦ 
 |
wget --no-check-certificate
|
ÃÖ±æÈ£
[LIST]
|
2021-11-11 22:33:03, Á¶È¸ : 1,339 |

# cat /etc/redhat-release
CentOS release 6.10 (Final)
# wget https://www.postgresql.org/ftp/source/v8.4.22/postgresql-8.4.22.tar.gz
--2021-11-11 22:25:22-- https://www.postgresql.org/ftp/source/v8.4.22/postgresql-8.4.22.tar.gz
Resolving www.postgresql.org... 72.32.157.230, 217.196.149.50, 87.238.57.232, ...
Connecting to www.postgresql.org|72.32.157.230|:443... connected.
ERROR: cannot verify www.postgresql.org¡¯s certificate, issued by ¡°/C=US/O=Let's Encrypt/CN=R3¡±:
Issued certificate has expired.
To connect to www.postgresql.org insecurely, use ¡®--no-check-certificate¡¯.
DL360:[root@mecca 8.4.22]# wget https://www.postgresql.org/ftp/source/v8.4.22/postgresql-8.4.22.tar.gz --no-check-certificate
--2021-11-11 22:25:32-- https://www.postgresql.org/ftp/source/v8.4.22/postgresql-8.4.22.tar.gz
Resolving www.postgresql.org... 217.196.149.50, 72.32.157.230, 87.238.57.232, ...
Connecting to www.postgresql.org|217.196.149.50|:443... connected.
WARNING: cannot verify www.postgresql.org¡¯s certificate, issued by ¡°/C=US/O=Let's Encrypt/CN=R3¡±:
Issued certificate has expired.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /ftp/source/v8.4.22/postgresql-8.4.22.tar.gz/ [following]
--2021-11-11 22:25:34-- https://www.postgresql.org/ftp/source/v8.4.22/postgresql-8.4.22.tar.gz/
Reusing existing connection to www.postgresql.org:443.
HTTP request sent, awaiting response... 404 Not Found
2021-11-11 22:25:34 ERROR 404: Not Found.
# cat >> ~/.wgetrc
check_certificate = off
# wget https://ftp.postgresql.org/pub/source/v8.4.22/postgresql-8.4.22.tar.gz
--2021-11-11 22:29:21-- https://ftp.postgresql.org/pub/source/v8.4.22/postgresql-8.4.22.tar.gz
Resolving ftp.postgresql.org... 87.238.57.227, 217.196.149.55, 147.75.85.69, ...
Connecting to ftp.postgresql.org|87.238.57.227|:443... connected.
WARNING: cannot verify ftp.postgresql.org¡¯s certificate, issued by ¡°/C=US/O=Let's Encrypt/CN=R3¡±:
Issued certificate has expired.
HTTP request sent, awaiting response... 200 OK
Length: 18332542 (17M) [application/octet-stream]
Saving to: ¡°postgresql-8.4.22.tar.gz¡±
100%[==========================================================================================>] 18,332,542 2.49M/s in 9.3s
2021-11-11 22:29:33 (1.89 MB/s) - ¡°postgresql-8.4.22.tar.gz¡± saved [18332542/18332542]
Ãâó: https://www.linuxquestions.org/questions/slackware-14/wget-always-requires-no-check-certificate-4175641043/
| 18.207.157.152
|
|
 |
Copyright 1999-2022 Zeroboard / skin by ÃÖ±æÈ£(gilho.kr@gmail.com)
|
|
|