注意事項:Eclipse の古いバージョンで発生する署名検証エラーについて

対象:旧バージョン Eclipse
事象例:2025年に署名されたプラグインをインストールすると、署名(シグネチャ)読み取り時にエラーとなり、インストールが中断される場合があります。


推奨対応: 新しいバージョンのEclipseを利用する。対応できない可能性があるが、旧バージョンのままで利用したい場合、以下の情報を参考に対応してみてください。

エラーメッセージ(概要)

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.curl.eclipse.cde.mat.hprof,8.0.15001.v2025-09-17-222006.
Error reading signed content:C:\Users\localuser\AppData\Local\Temp\signatureFile4945995344152765921.jar
An error occurred while processing the signatures for the file: C:\Users\localuser\AppData\Local\Temp\signatureFile4945995344152765921.jar
Problems downloading artifact: org.eclipse.update.feature,com.curl.eclipse.cde.mat.hprof.feature,8.0.15001.v2025-09-17-222006-7H-MJm8s737D13L15H177733F.
Error reading signed content:C:\Users\localuser\AppData\Local\Temp\signatureFile5794029699063839755.jar
An error occurred while processing the signatures for the file: C:\Users\localuser\AppData\Local\Temp\signatureFile5794029699063839755.jar
Problems downloading artifact: osgi.bundle,com.curl.eclipse.cde.uml,8.0.15001.v2025-09-17-222006.
Error reading signed content:C:\Users\localuser\AppData\Local\Temp\signatureFile4963073679208978907.jar
An error occurred while processing the signatures for the file: C:\Users\localuser\AppData\Local\Temp\signatureFile4963073679208978907.jar
Problems downloading artifact: org.eclipse.update.feature,com.curl.eclipse.cde.uml.feature,8.0.15001.v2025-09-17-222006-7H-MJm8s737D13L15H177733F.
Error reading signed content:C:\Users\localuser\AppData\Local\Temp\signatureFile1271301543046650798.jar
An error occurred while processing the signatures for the file: C:\Users\localuser\AppData\Local\Temp\signatureFile1271301543046650798.jar
Problems downloading artifact: org.eclipse.update.feature,com.curl.eclipse.cde.win32.en,8.0.15001.v2025-09-17-222006-79-IeO7w313601A0280333117.
Error reading signed content:C:\Users\localuser\AppData\Local\Temp\signatureFile1667298582133947698.jar
An error occurred while processing the signatures for the file: C:\Users\localuser\AppData\Local\Temp\signatureFile1667298582133947698.jar
Problems downloading artifact: org.eclipse.update.feature,com.curl.eclipse.cde.win32.ja,8.0.15001.v2025-09-17-222006-79-IeO7w313601A0280333117.
Error reading signed content:C:\Users\localuser\AppData\Local\Temp\signatureFile3084116716293076525.jar
An error occurred while processing the signatures for the file: C:\Users\localuser\AppData\Local\Temp\signatureFile3084116716293076525.jar
Problems downloading artifact: osgi.bundle,com.curl.eclipse.plugin,8.0.15001.v2025-09-17-222006.
Error reading signed content:C:\Users\localuser\AppData\Local\Temp\signatureFile3612675547607490272.jar
An error occurred while processing the signatures for the file: C:\Users\localuser\AppData\Local\Temp\signatureFile3612675547607490272.jar

原因の概要

推奨:可能であれば、Eclipse を新しめのリリース(例:2021‑03 以降)へ更新してください。p2 の署名取り扱いや検証互換性が改善されています。[1]


一時的対応(署名検証の緩和)

セキュリティリスクを伴うため恒久対策ではありませんが、インストールを継続したい場合は Eclipse の eclipse.ini署名検証ポリシーを緩和する設定を追加できます。

  1. Eclipse を終了します。
  2. eclipse.ini を編集します(各オプションは 1 行ずつ/-vmargs より下は JVM オプションとして渡されます)。[3]-vmargs の直後などに追加します:
    -vmargs
    -Declipse.p2.unsignedPolicy=allow
    
  3. 保存後、Eclipse を再起動してインストールを再試行してください。

注意:この緩和により、未信頼コンテンツのインストールを許可する動作になります。インストール後は 設定を元に戻すことを強く推奨します。[4]

備考