Skip to content

Conversation

@stnguyen90
Copy link
Contributor

What does this PR do?

The NODE_TLS_REJECT_UNAUTHORIZED env variable will disable SSL checks for all requests. This PR changes the node SDK to only disable SSL checks for Appwrite related requests by passing an option to axios.

Fixes appwrite/appwrite#6832

Test Plan

Before change:

image

After change:

image

Without calling setSelfSigned():

image

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

The NODE_TLS_REJECT_UNAUTHORIZED env variable will disable SSL checks
for all requests. This PR changes the node SDK to only disable SSL
checks for Appwrite related requests by passing an option to axios.
@stnguyen90 stnguyen90 force-pushed the fix-6832-node-self-signed branch from fe8c8db to a644530 Compare November 2, 2023 22:47
@lohanidamodar lohanidamodar merged commit 8e71ca4 into master Nov 5, 2023
@stnguyen90 stnguyen90 deleted the fix-6832-node-self-signed branch November 22, 2023 23:28
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.

🐛 Bug Report: Enabling self signed certificates for Node SDK doesn't work

4 participants