小编Zam*_*col的帖子

Wget TLS 1.2 错误

根据手册,我应该能够在使用 wget 时指定 TLS 1.2 版。

当我尝试时,它失败了。

wget https://site --no-check-certificate --secure-protocol=TLSv1_2
wget: --secure-protocol: Invalid value ‘TLSv1_2’.
Run Code Online (Sandbox Code Playgroud)

如果我使用wget https://site --no-check-certificate --secure-protocol=TLSv1,它工作得很好。

版本信息:

wget --version
GNU Wget 1.15 built on linux-gnu.

+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl 

Wgetrc: 
    /etc/wgetrc (system)
Locale: 
    /usr/share/locale 
Compile: 
    gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" 
    -DLOCALEDIR="/usr/share/locale" -I. -I../../src -I../lib 
    -I../../lib -D_FORTIFY_SOURCE=2 -I/usr/include -g -O2 
    -fstack-protector --param=ssp-buffer-size=4 -Wformat 
    -Werror=format-security -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall 
Link: 
    gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
    -Werror=format-security -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall …
Run Code Online (Sandbox Code Playgroud)

wget ssl

6
推荐指数
1
解决办法
3万
查看次数

标签 统计

ssl ×1

wget ×1