Skip to content

Disabling SSL certificate verification on React Native #6004

Open
@DeepakSharma04

Description

Describe the bug

Hello there,
I'm using ...

Axios: ^1.3.4
React native: 0.68.2

The problem is, by using Axios I'm not able to turn off SSL validation on React Native, I have researched many things over the internet but there is the only way I found is using the rn-fetch-blob package and also i can't pass https.Agent({ rejectUnauthorized: false }) because in react-native we can't use https directly.

I think Axios would not disable on React Native, but still, Is there something that I'm missing? Any advice would be recommended.

Thanks!

To Reproduce

No response

Code snippet

No response

Expected behavior

No response

Axios Version

No response

Adapter Version

No response

Browser

No response

Browser Version

No response

Node.js Version

No response

OS

No response

Additional Library Versions

No response

Additional context/Screenshots

No response

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions