Network Error: Chain validation failed

オープン
#128 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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 構成を使用している NextcloudPi インスタンスに対する Passman Android アプリからの接続を再現し、その後、手動で 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分
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/passman-android のほかの issue

nextcloud/passman-android の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。