设置一个信任React native的LetsEncrypt的自定义信任存储

时间:2018-02-23 09:19:20

标签: android ssl react-native ssl-certificate okhttp

我需要设置一个信任存储,它信任React本地的LetsEncrypt,以便能够连接到使用Let的加密证书的服务器。

这是JAVA(https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java)中的一个示例,但我不知道如何在React native中实现它。

问题是(https://github.com/facebook/react-native/issues/18032)让旧版Android版(API< 20)不信任加密

0 个答案:

没有答案
相关问题