Skip to content

Restore skipSSLValidation flag#735

Merged
jbaxleyiii merged 1 commit intomasterfrom
trevor/restore-skipSSL
Nov 26, 2018
Merged

Restore skipSSLValidation flag#735
jbaxleyiii merged 1 commit intomasterfrom
trevor/restore-skipSSL

Conversation

@trevor-scheer
Copy link
Copy Markdown
Contributor

This restores the skipSSLValidation flag so a schema introspection can be downloaded via http.

For reference: #565
I ran into errors trying to use this^ implementation with https. Using http.Agent worked for me, though based on the config from the previous implementation I'm curious if I'm overlooking something.

TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"

Fixes: #728

This restores the skipSSLValidation flag so a schema introspection
can be downloaded via http.
@jbaxleyiii jbaxleyiii merged commit aa88d87 into master Nov 26, 2018
@jbaxleyiii jbaxleyiii deleted the trevor/restore-skipSSL branch November 26, 2018 14:35
@setthase
Copy link
Copy Markdown

Using provided flag --skipSSLValidation against https endpoint with self-signed certificate throws now this error:

Protocol "https:" not supported. Expected "http:

@raudabaugh
Copy link
Copy Markdown

I am seeing the same error as @codename-
cc @trevor-scheer @jbaxleyiii

@sebastianseilund
Copy link
Copy Markdown

Same issue here. See workaround here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants