Giter Site home page Giter Site logo

SSL Support in Node about axios HOT 6 CLOSED

jimthedev avatar jimthedev commented on April 20, 2024
SSL Support in Node

from axios.

Comments (6)

mzabriskie avatar mzabriskie commented on April 20, 2024 2

@jimthedev I have added SSL support. I am not going to provide a flag for self signed certs. You can get around it by doing:

process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

from axios.

mzabriskie avatar mzabriskie commented on April 20, 2024

@jimthedev https support for node.js is planned for 0.4.0 release. I will have to do some research on self signed certs. Seems like a valid option.

from axios.

jimthedev avatar jimthedev commented on April 20, 2024

@mzabriskie Awesome! Currently, as a workaround I just swapped out http for https in the adapter and set this rejectUnauthorized: false

Not safe, but I am only working in dev so it suits my needs.

from axios.

jimthedev avatar jimthedev commented on April 20, 2024

Cool. Thanks a bunch. What tag is this coming in on? 0.4.0? Currently looks like 0.3.1 is still the latest. Is this correct?

from axios.

mzabriskie avatar mzabriskie commented on April 20, 2024

@jimthedev current is 0.3.1, SSL support will be on 0.4.0. I have a couple open issues that I will address before the next release. Probably by the end of the week.

from axios.

jimthedev avatar jimthedev commented on April 20, 2024

@mzabriskie Great. Thanks.

from axios.

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.