Closed nicholsn closed 4 years ago
Hi @nicholsn I'm interested in this feature... I've installed your fork but cant get it to run the CLI command with the --no-verify flag set. Am I missing something obvious?
Strike that, got it to work. Feedback would be in add that --no-verify flag to the other commands eg load, dump, delete etc
Just pushed the update to use --insecure
@camfindlay and @wardi I started looking into adding this flag to the other commands. It looks like these are all based on call_action
so I'll see if this is a straight forward addition or not
@wardi this should be good to go now
@wardi let me know if you'd like me to add anything else
Thank you @nicholsn !
This PR addresses an issue in the CLI where ssl certificates cannot be verified by the requests library and raises an sslError:
raise SSLError(e, request=request)
This general issue is addressed in #51 where @wardi points out that you can bypass this error using:
Here I've added the
--no-verify
option to theckanapi action
command line interface which will allow users to work around this issue. Obviously, user be warned not to trust passing their API key around like this =)Here is an example:
Let me know if this works or if there is a better approach!