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

Added option to disable ssl verification checks for http source #618

merged 2 commits into from Nov 19, 2016
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+12 −0
Diff settings


Just for now

Copy path View file
@@ -506,6 +506,17 @@ source:
X-Auth-Token: 'somerandomstring'
You can also pass `secure: false` if you want to disable ssl certificate verification:
default: http
url: https://url/api
scheme: https
secure: false
### Output: File
Parent directory needs to be created manually, one file per device, with most recent running config.
Copy path View file
@@ -20,6 +20,7 @@ def load
uri = URI.parse(@cfg.url)
http =, uri.port)
http.use_ssl = true if uri.scheme == 'https'
http.verify_mode = OpenSSL::SSL::VERIFY_NONE unless

# map headers
headers = {}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.