Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL证书有问题 Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error #20

Open
Tmalll opened this issue Jun 2, 2022 · 2 comments

Comments

@Tmalll
Copy link

Tmalll commented Jun 2, 2022

root@debian11:~# aria2c -x 32 -s 32 -k 512k 'https://mirror.sin11.sg.leaseweb.net/speedtest/1000mb.bin' -d /dev -o null --allow-overwrite=true --file-allocation=none --check-certificate=false --ca-certificate=/etc/ssl/certs/ca-certificates.crt

06/03 03:55:53 [NOTICE] Downloading 1 item(s)
[#a7956c 0B/0B CN:1 DL:0B]
06/03 03:55:55 [ERROR] CUID#7 - Download aborted. URI=https://mirror.sin11.sg.leaseweb.net/speedtest/1000mb.bin
Exception: [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error

06/03 03:55:55 [NOTICE] Download GID#a7956c0d208f3183 not complete: /dev/null

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
a7956c|ERR | 0B/s|/dev/null

Status Legend:
(ERR):error occurred.

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
root@debian11:~#

@Tmalll
Copy link
Author

Tmalll commented Jun 2, 2022

刚试了一下 apt-get install -y aria2 安装的没有出现这个问题...

@ours1505
Copy link

check-certificate=false, set it in .config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants