Trust anchor for certification path not found when trying to connect via https

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, java
領域
mobile, security

調査の方向性

まず、Let's Encrypt 証明書を使用して、報告されている Docker 化された Nextcloud および Apache リバースプロキシに対する Android アプリの HTTPS 接続を再現します。アプリの証明書検証パスを調査し、動作している HTTP 接続および他の Nextcloud クライアントと比較します。報告されている trust-anchor エラーなしでアプリが HTTPS 経由で正常に接続できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hi there,

After reinstalling the custom ROM on my mobile device (same ROM, new version) passman alpha stopped working properly. If I recall correctly, it did work just fine before.
The fact is, I can't connect to my NC via HTTPS, HTTP connects just fine.
I have a dockerized NC with and one apache reverse proxy with the Let's Encrypt certs. Usual nextcloud clients and web is working as expected, even other apps like notes, calendars, contacts, etc... just passman fails to connect.

The error it gives is:
Network error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Don't know how to debug more to give you something to see. By the way, you can see my let's encrypt certificate on https://cloud.docampo.net
Best,
Angel

主要言語
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 を短くまとめたダイジェスト。