Hacker News new | ask | show | jobs
by hardik988 5035 days ago
Use wget with --no-check-certificate or change https to http
1 comments

This seems like such a bad idea... certs exist in repos for very good reasons.
Sure, but if you're simply downloading a shell script (whose source code you can see) from github (a site you can trust), I don't see the issue.
If it can't validate the cert, it could be the sign of a MITM attack. Likely? No, but I wouldn't take content with cert issues and run it as root. At least not without validating it in some other way.
You're right. It very well could be a MITM attack. But I guess you could see the source code for yourself after you've downloaded it right?

Anyhow, I agree that using --no-check-certificate is usually a bad idea.