Project

General

Profile

Actions

Bug #9734

closed

aria2c fails to download from SSL/TLS sites

Added by Michal Nowak about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
OI-Userland
Target version:
-
Start date:
2018-08-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

aria2c is unable to download from HTTPS because it (likely) can't locate CA bundle:

$ aria2c https://google.com

08/14 20:48:20 [ERROR] CUID#7 - Download aborted. URI=https://google.com
Exception: [/jenkins/jobs/oi-userland/workspace/components/web/aria2/aria2-1.34.0/src/AbstractCommand.cc:351] errorCode=1 URI=https://google.com
  -> [/jenkins/jobs/oi-userland/workspace/components/web/aria2/aria2-1.34.0/src/SocketCore.cc:1015] errorCode=1 SSL/TLS handshake failure:  `not signed by known authorities or invalid' `issuer is not known' `insecure algorithm'


Perhaps we should do --with-ca-bundle=/etc/certs/ca-certificates.crt? --with-ca-bundle= seems to support PEM format, not sure about CRT.

Was noticed by https://www.listbox.com/member/archive/184463/2018/08/sort/time_rev/page/1/entry/1:23/20180814131123:0FE83B76-9FE5-11E8-BB80-C5CE8A4CA7AC/.

Btw, pkgsrc seems to have some general tweaks (disable epoll, ac_cv_func_getaddrinfo=yes, ...) we could leverage.

Actions #1

Updated by Alexander Pyhalov about 3 years ago

  • Status changed from New to Resolved
  • Assignee changed from OI Userland to Alexander Pyhalov
  • Difficulty changed from Medium to Bite-size
Actions

Also available in: Atom PDF