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

Clarify the nature of setting ca in agentOptions #1646

Merged
merged 1 commit into from Jun 21, 2015

Conversation

jeffcharles
Copy link
Contributor

The ca option in https://nodejs.org/api/tls.html#tls_tls_connect_options_callback indicates that the certificate presented must be signed by one of the certificates provided. The existing wording in request led me to believe that setting it augmented the list of acceptable certificates rather than replacing it.

This caused a problem when we switched from a testing environment which used a self-signed certificate to a staging environment which used a third-party signed certificate.

The `ca` option in https://nodejs.org/api/tls.html#tls_tls_connect_options_callback indicates that the certificate presented must be signed by one of the certificates provided. The existing wording in request led me to believe that setting it augmented the list of acceptable certificates rather than replacing it.
simov added a commit that referenced this pull request Jun 21, 2015
Clarify the nature of setting `ca` in `agentOptions`
@simov simov merged commit 1506774 into request:master Jun 21, 2015
@simov
Copy link
Member

simov commented Jun 21, 2015

Thanks 👍

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.

None yet

2 participants