Showing posts with label ca. Show all posts
Showing posts with label ca. Show all posts

Thursday, June 27, 2024

Node.js certificate issues

When you encountered certificate issues when using node.js, there are some workaround that can be tried:

1) Add custom CA certs

    $ export NODE_EXTRA_CA_CERTS=[your CA certificate file path]

2) Disable certificate checking

    NODE_TLS_REJECT_UNAUTHORIZED


Upgrade nodejs in conda (from v18 to v26)

If your conda env is nodejs v18, doing a conda install nodejs=26 is likely to create a lot of conflict. Consider remove those conflicting p...