Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to turn off certificate validation for plantuml !includeurl's #1675

Open
McSlow opened this issue Nov 7, 2023 · 1 comment
Open

Way to turn off certificate validation for plantuml !includeurl's #1675

McSlow opened this issue Nov 7, 2023 · 1 comment
Labels
❔ question Further information is requested

Comments

@McSlow
Copy link

McSlow commented Nov 7, 2023

Hi,
i',m using the includeurl directive to add snippets to plantum diagrams.
KROKI_SAVE_MODE_unsafe and KROKI_PLANTUML_ALLOW_INCLUDE=true is set and it works so far when e.g. using raw files from github.com.
Sadly, i'm using gitlab pages with a local (untrusted) wildcard cert.
This results in a 400 error (bad request, pretty misleading :) )

Is there some way to turn off cert validation (as a java option or env) ?

@ggrossetie
Copy link
Member

You should probably ask on https://github.com/plantuml/plantuml. I'm not entirely sure which Java library PlantUML is using to get remote resources.

Another solution would be to add your certificate into a truststore and load it using a system property javax.net.ssl.trustStore. It might also work to import your certificate into the OS ca-certificates.

@ggrossetie ggrossetie added the ❔ question Further information is requested label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❔ question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants