[GH-ISSUE #2894] Using aria2c with firejail makes it fail to download anything: -> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: unable to get local issuer certificate #1808

Closed
opened 2026-05-05 08:28:52 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @MystesofEternity on GitHub (Aug 8, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2894

firejail --seccomp aria2c -x 16 -k 1M https://nchc.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-64.iso

08/08 08:37:46 [ERROR] CUID#7 - Download aborted. URI=https://nchc.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-64.iso
Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://nchc.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-64.iso
-> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: unable to get local issuer certificate

Using fedora-30 for this and an aria2c I personally built myself from source code in the middle of June 2019

Things I've tried:

  • noblacklist /etc/ssl/certs
  • whitelist /etc/ssl/certs
  • noblacklist /etc
  • whitelist /etc
  • noblacklist /etc/ssl
  • whitelist /etc/ssl
    =All of the above were lines I added to the aria2c.profile. I added them 2 by 2, commenting out the two lines that gave me a fail. Sadly all of it failed.=
Originally created by @MystesofEternity on GitHub (Aug 8, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2894 firejail --seccomp aria2c -x 16 -k 1M https://nchc.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-64.iso 08/08 08:37:46 [ERROR] CUID#7 - Download aborted. URI=https://nchc.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-64.iso Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://nchc.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-64.iso -> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: unable to get local issuer certificate Using fedora-30 for this and an aria2c I personally built myself from source code in the middle of June 2019 Things I've tried: - noblacklist /etc/ssl/certs - whitelist /etc/ssl/certs - noblacklist /etc - whitelist /etc - noblacklist /etc/ssl - whitelist /etc/ssl =All of the above were lines I added to the aria2c.profile. I added them 2 by 2, commenting out the two lines that gave me a fail. Sadly all of it failed.=
Author
Owner

@SkewedZeppelin commented on GitHub (Aug 8, 2019):

those won't do anything for /etc since there is a private-etc line, try commenting it

<!-- gh-comment-id:519429854 --> @SkewedZeppelin commented on GitHub (Aug 8, 2019): those won't do anything for /etc since there is a `private-etc` line, try commenting it
Author
Owner

@MystesofEternity commented on GitHub (Aug 10, 2019):

Thanks! I'll try it out next week as I use it for work to download big resources for coding/developing apps

<!-- gh-comment-id:520106275 --> @MystesofEternity commented on GitHub (Aug 10, 2019): Thanks! I'll try it out next week as I use it for work to download big resources for coding/developing apps
Author
Owner

@MystesofEternity commented on GitHub (Aug 13, 2019):

Thank you very much! It worked!

<!-- gh-comment-id:520852560 --> @MystesofEternity commented on GitHub (Aug 13, 2019): Thank you very much! It worked!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1808
No description provided.