Network Error: Chain validation failed

未关闭
#128 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
28/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
android, apache, debian

调研方向

从 /etc/apache2/sites-enabled/nextcloud.conf 中报告的 TLS 配置开始,比较 fullchain.pem 设置与 cert.pem 加上 SSLCertificateChainFile 设置。使用标准 Let's Encrypt 配置,在 Passman Android 应用与 NextcloudPi 实例之间重现连接,然后验证无需手动修改 Apache 即可接受证书链。

由索引模型根据 Issue 内容生成。

描述

My Setup: NextcloudPi Installation on Debian - reachable via freedns-domain, Portforwarding on 443 and 80

My Problem: Passman Android App wouldn't connect to my Nextcloud instance due to "Network Error: Chain validation failed"
Everything else ist working fine, Chrome Extension or normal Access via Browser.

Lets Encrypt Certificates got automaically installed via NextcloudPi's Adminpanel Letsencrypt-App (Certbot?)

I Solved the problem following this instructions, but it might be only temporarily and will be overwritten when the new Certificates are generated.

nano /etc/apache2/sites-enabled/nextcloud.conf

then replaced
SSLEngine on
SSLProxyEngine on
SSLCertificateFile /etc/letsencrypt/live/mynextcloud.domain/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mynextcloud.domain/privkey.pem

with

SSLEngine on
SSLProxyEngine on
SSLCertificateFile /etc/letsencrypt/live/mynextcloud.domain/cert.pem
SSLCertificateChainFile /etc/letsencrypt/live/mynextcloud.domain/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mynextcloud.domain/privkey.pem

Maybe Passman is missing support for the Combined Certificates? Could this be added in a future Release, since this is the standard letsencrypt way of installation? This would be great!

I hope my fix helps other

主要语言
C++
星标
103
派生
31
平均合并
10 小时 48 分钟
30 天内合并 PR
13

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/passman-android 的其他 Issue

查看 nextcloud/passman-android 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。