Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a command line switch to disable SSL certificate validation #76

Closed
jgstew opened this issue Nov 17, 2015 · 2 comments
Closed

Need a command line switch to disable SSL certificate validation #76

jgstew opened this issue Nov 17, 2015 · 2 comments
Labels

Comments

@jgstew
Copy link
Contributor

jgstew commented Nov 17, 2015

In some cases, it is useful to pull a download from an internal organization's webserver / software repo / etc... which may be using a self-signed cert.

Also, if there is an odd issue with the certificate and after investigating, you find out that it has recently expired, it would be a bummer to have to wait around for the other end to fix the problem.

Message:
[WARNING] Error encountered during file download. ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590))

Screenshot:
screen shot 2015-11-16 at 9 09 08 pm

Related Issues:

@jgstew
Copy link
Contributor Author

jgstew commented Nov 18, 2015

In some cases, it might be useful to automatically try the same URL but with HTTP instead of HTTPS to see if that works. This is a solution in use for some BigFix items, particularly in the case of OS X 10.10 that is preventing some downloads from working. BigFix does additional validation of the files downloaded, so a man in the middle attack is not a concern.

Related: #74

@homebysix
Copy link
Owner

Recipe Robot 2+ now uses curl for downloading. I imagine both HTTP and HTTPS connections are supported, but HTTP connections with expired/incorrect certificates are not. (And shouldn't be, IMO.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants