GithubHelp home page GithubHelp logo

Comments (3)

mitchhentges avatar mitchhentges commented on May 25, 2024

Hmm, the ideal solution here would be if it were possible to import custom certificates into James for testing websites - I'll create a separate ticket for that (#410) (note that this project doesn't have a lot of maintainer time, so no guarantees of it being implemented soon).

In the short-term, you can work around this by disabling HTTPS certificate checks (which is very insecure!). You'll need to run James from a command-prompt, and do the following:

  1. First, export NODE_TLS_REJECT_UNAUTHORIZED=0 (on Windows, I think that this is SET NODE_TLS_REJECT_UNAUTHORIZED=0)
  2. Start James from that command line window

I hope this helps, but let me know if you have any issues :)

from james.

mitchhentges avatar mitchhentges commented on May 25, 2024

Looking into this further, it looks like you can provide the custom certificate to Node via environment variable, which is much better than ignoring rejected certificates.

export NODE_EXTRA_CA_CERTS=[your CA certificate file path]

from james.

qupfer avatar qupfer commented on May 25, 2024

Works great. Thanks

from james.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.