最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin4浏览0评论

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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论