Skip to content

Conversation

@rgould
Copy link

@rgould rgould commented Mar 20, 2013

After upgrading to node 0.10, the https module defaults to checking SSL certs and throwing an error if it encounters a self-signed cert. Our CAS is hosted on a server with such a cert, so we need a way to disable this checking. I figured it would be best to just permit the using modules to insert other options as well.

(This request includes other new commits from master, but you can just cherry-pick 330c84c)

rgould added 4 commits March 13, 2013 11:18
`url.parse("http://foo.com:444/bar").hostname` returns `"foo.com:444"`,
which causes `validate` to make an invalid call to `https`.
This permits us to set values like 'rejectUnauthorized'
Copy link

@kassanmoor kassanmoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

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.

2 participants