user82048173
user82048173

Reputation: 5

How to fix "SSL error: certificate verify failed"

I started a bash code that tries to download a file via axel, but when the script is about to download the file, it crashes and the error SSL error: certificate verify failed.

Can someone please help me with that, like adding an exception via command-line?

Part of the code:

axel ${EXTRAARGS} --alternate "https://build.nethunter.com/kalifs/kalifs-20171013/kalifs-armhf-minimal.tar.xz "

Other variables were already declared. The result is:

Initializing download: https://build.nethunter.com/kalifs/kalifs-20171013/kalifs-armhf-minimal.tar.xz<br>
SSL error: certificate verify failed

Thanks anyway.

Upvotes: 0

Views: 2875

Answers (1)

accdias
accdias

Reputation: 5372

Did you try man axel? From the man page:

   --insecure, -k
          Do not verify the SSL certificate. Only use this if 
          you are getting certificate errors and you are sure
          of the sites authenticity.

Upvotes: 3

Related Questions