app-search-node icon indicating copy to clipboard operation
app-search-node copied to clipboard

Client doesn't work with intermediate SSL certs

Open gingerwizard opened this issue 5 years ago • 5 comments

This is caused by https://github.com/request/request/issues/3106.

gingerwizard avatar Jul 02 '20 14:07 gingerwizard

@gingerwizard Any suggestions on how to resolve this?

JasonStoltz avatar Jul 30 '20 18:07 JasonStoltz

a workaround I did was to fork the repo, and add "rejectUnauthorized: false" to the request wrapper

jason-gan avatar Dec 15 '20 13:12 jason-gan

@jason-gan how can I do this please describe the steps.

sitaram-dev avatar Oct 17 '21 14:10 sitaram-dev

I'm not recommending this as a production solution, but if you're struggling with self signed certificates in local or development environments, you can set the following environment variable:

NODE_TLS_REJECT_UNAUTHORIZED="0"

JasonStoltz avatar Oct 18 '21 13:10 JasonStoltz

Ya I did reject unauthorised to false for the time untill I move to cloud services. You r genius 💯

On Mon, 18 Oct, 2021, 7:11 pm Jason Stoltzfus, @.***> wrote:

I'm not recommending this as a production solution, but if you're struggling with self signed certificates in local or development environments, you can set the following environment variable:

NODE_TLS_REJECT_UNAUTHORIZED="0"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/elastic/app-search-node/issues/25#issuecomment-945780519, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJAFRECDVL4LX55LLAWPLVDUHQP2FANCNFSM4OO6BCQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sitaram-dev avatar Oct 18 '21 13:10 sitaram-dev