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

Add info on self-signed https connections from the API #288

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

twk3
Copy link
Contributor

@twk3 twk3 commented Dec 4, 2023

Related to actualbudget/actual#1695

It's pretty common for users to have self-signed certificates for actual, but this presents some challenges for the API.

Give a little bit of guidance here, for new contributors. Really, all the info here is just for Node.js and not for actual. (we would want to create seperate http agents and our own certificate config system if we wanted to have actual specific config for this).

For many of the existing api use-cases the NODE_TLS_REJECT_UNAUTHORIZED option will be fine. But NODE_EXTRA_CA_CERTS seems like the proper way to do things (and the one I tested on nodejs 21, on ubuntu via asdf install). But I also made sure to mention the option of using openssl's ca certificates, because if you are in a situation where your node.js is configured to link to the system openssl on Linux, it's going to be the easiest and most familiar to Linux sysadmins. It's just not the cross-platform supported option like NODE_EXTRA_CA_CERTS.

Copy link

netlify bot commented Dec 4, 2023

Deploy Preview for actualbudget-website ready!

Name Link
🔨 Latest commit 65ce91c
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget-website/deploys/656e4e0bf888c5000863bd13
😎 Deploy Preview https://deploy-preview-288.www.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@youngcw youngcw merged commit 1cb7459 into actualbudget:master Dec 12, 2023
5 checks passed
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