valentjn / ltex-ls

LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
764 stars 33 forks source link

Support Windows Certificate Store #255

Open AetherDim opened 1 year ago

AetherDim commented 1 year ago

When using a HttpServerUri with https on windows, java might fail to find the correct certificate.

The server will through: SunCertPathBuilderException: unable to find certification path to requested target

The easiest way to fix this would be to append: -Djavax.net.ssl.trustStoreType=WINDOWS-ROOT to the java launch arguments.