melbahja / got

Got: Simple golang package and CLI tool to download large files faster 🏃 than cURL and Wget!
MIT License
722 stars 46 forks source link

How to disable SSL cert check? #30

Open nsa opened 3 years ago

nsa commented 3 years ago

I wonder if disabling SSL cert check is possible? In some cases we use self-signed certificates and got refuses to download from that servers.

pops an error like in the following and doesn't start to download.

Get "URL-REDACTED": x509: certificate signed by unknown authority
melbahja commented 3 years ago

Hi, I will add --insecure flag to ignore SSL errors. thank you for your report.