asciidoctor/asciidoctor-intellij-plugin

Plugin doesn't use system trust store

開放

#1,153 建立於 2022年9月7日

 (4 則留言) (0 個反應) (0 位負責人)Java (155 個分叉)auto 404
awaiting feedbackhelp wanted

倉庫指標

星標
 (392 顆星)
PR 合併指標
 (平均合併 4天 11小時) (30 天內合併 3 個 PR)

描述

Hi, I'm using IntelliJ Idea 2022.2.1 UE and AsciiDoc plugin 0.37.45. I have my own instance of kroki server, available through HTTPS with self-signed certificate. Root CA cert is added to windows trusted root CA store.

With "kroki-fetch-diagram: true" in antora-playbook.yml I'm getting the following error when trying to preview asciidoc page with plantuml diagram inside:

org.jruby.exceptions.StandardError: (SSLError) asciidoctor: FAILED: C:\repos\myrepo\docs\modules\ROOT\pages\mypage.adoc: Failed to load AsciiDoc document - certificate verify failed

In order to asciidoc plugin work correctly I have to either change "kroki-fetch-diagram" to false or add root CA to IntelliJ JRE' cacerts file. I'd expect asciidoc plugin to use system trust store.

貢獻者指南