Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Self signed certificates #29

Closed
KyKyPy3 opened this issue Jun 20, 2016 · 5 comments
Closed

Self signed certificates #29

KyKyPy3 opened this issue Jun 20, 2016 · 5 comments

Comments

@KyKyPy3
Copy link

KyKyPy3 commented Jun 20, 2016

Hi. I tried to use your library and get a problem if the site uses self signed certificate. Do you have any solution for that?

@wkh237
Copy link
Owner

wkh237 commented Jun 21, 2016

Hi @KyKyPy3 , thanks for your report, I will try to add an option for that.

@wkh237 wkh237 added the bug label Jun 21, 2016
@wkh237 wkh237 self-assigned this Jun 21, 2016
wkh237 added a commit that referenced this issue Jun 21, 2016
wkh237 added a commit that referenced this issue Jun 21, 2016
@wkh237
Copy link
Owner

wkh237 commented Jun 21, 2016

Hi @KyKyPy3 , I've published a new version (v0.5.3) with an option added to config, so that you can create connection to a self-signed server

RNFetchBlob
.config({
    trusty : true // <---add this
})
.fetch('GET', 'https://www.myserver.com/item/')

please try if this solve the problem.

@KyKyPy3
Copy link
Author

KyKyPy3 commented Jun 22, 2016

Hello. I verify your fix and it works. Many thanks for the quick response.

@KyKyPy3 KyKyPy3 closed this as completed Jun 22, 2016
wkh237 added a commit that referenced this issue Jun 23, 2016
wkh237 added a commit that referenced this issue Jun 23, 2016
@jdpenuliarkorefabrik
Copy link

Where do I put this code? please reply at jdpenuliar@korefabrik.com or jaydz.penuliar@gmail.com thank you very much guyysss. starter on react-native here

@anhichang
Copy link

Is it possible to read thumbprint/fingerprint of the certificate?

julian-becker pushed a commit to julian-becker/react-native-fetch-blob that referenced this issue Mar 30, 2022
…e-fix

Add null checks to getExternalFilesDir calls
Fixes wkh237#29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants