The certificate error from TFRI during synchronization

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

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

評価

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

調査の方向性

ObjectListHarvestTask:getFullObjectList (line 328) から開始し、Tomcat で SSL デバッグを有効にして TFRI の同期失敗を再現します。得られたハンドシェイク診断を、issue にある証明書の詳細と併せて調査します。bad_certificate アラートの原因を特定し、harvest を復旧できれば完了です。

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

説明

The harvest from TFRI stopped a while ago. First, we found the issue was that synchronization was disabled and the base mn url was wrong. However, after fixed the two issues, the harvest still doesn't work and the error message is:

[ERROR] 2026-03-25 18:24:14,440 [SynchronizationQuartzScheduler_Worker-12]  (ObjectListHarvestTask:getFullObjectList:328) urn:node:TFR- <?xml version="1.0" encoding="UTF-8"?>
<error detailCode="0 Client_Error" errorCode="500" name="ServiceFailure">
    <description>class org.dataone.client.exception.ClientSideException: /Received fatal alert: bad_certificate</description>
</error>

We asked Kevin from TFRI to check if the certificate issued by Dataone CA was expired. He told us that the certificate is valid.

Also the web server's certificate has some Chinese characters like:

Owner: CN=[metacat.tfri.gov.tw](http://metacat.tfri.gov.tw/), O=政府機關-行政院-農業部-林業試驗所, L=臺灣, C=TW

Those characters caused our attention. Kevin told us that it is very difficult to have a certificate without the Chinese characters and it has been long time their certificate having Chinese characters.

So we have to enable ssl debug on Tomcat to figure out the reason.

主要言語
言語のデータがありません
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

DataONEorg/dataone のほかの issue

DataONEorg/dataone の issue をすべて見る

似ている issue

Security の issue をもっと見る

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

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