android - Is it possible to obtain an SSL certificate from LetsEncrypt for a server that will only run in your LAN? - Stack Over

so I'm a total beginner when it comes to SSLTLS certificates. I have generated a few of them usin

so I'm a total beginner when it comes to SSL/TLS certificates. I have generated a few of them using OpenSSL for some local servers in my LAN. I have already built and expo react native app working 100%, but when I build the APK, and install it specifically on android devices, Im getting this error:

    java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
 (NOBRIDGE) LOG  Connection closed 1006 java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

The root CA certificate was generated using openssl, and the reverse proxy server is using a signed-server certificate signed by this root CA I created.

My question is:

Since android is not allowing "User" certificates and only allows "System" certificates, is it possible to obtain a certificate from LetsEncrypt for this reverse proxy local server? That way android can trust the reverse proxy certificate and the expo app could connect fine to the backend server.

Basically the servers and clients will all be running in my LAN only, not open to the internet.

This is just for a small learning project in my LAN.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744398953a4572288.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信