Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
15.10.8, 16.2.0
-
None
-
Windows 11 Pro, Edge 123, using a local instance of XWiki 15.10.8 and 16.2.0 on Jetty/HSQL
-
Unknown
-
Description
Steps to reproduce
- Create an XWiki instance (e.g. 15.10.8 or 16.2.0)
- Run the Distribution Wizard
- Observe the logs on the Distribution Wizard
Expected results
No warnings are displayed.
Actual results
Some warnings about missing certificate paths are displayed for grizzly:
Unexpected error when trying to find extension dependency [grizzly-framework 2.3.25] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
Unexpected error when trying to find extension dependency [grizzly-http-server 2.3.25] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
Unexpected error when trying to find extension dependency [grizzly-http 2.3.25] in repository [jvnet-nexus-snapshots:maven:https://maven.java.net/content/repositories/snapshots]: SunCertPathBuilderException: unable to find valid certification path to requested target
And for Tyrus:
Unexpected error when trying to find extension dependency [Tyrus Client 1.13.1] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
Unexpected error when trying to find extension dependency [Tyrus Core 1.13.1] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
Unexpected error when trying to find extension dependency [Tyrus Container SPI 1.13.1] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
The warnings could be reproduced with Java 11 (11.0.22), Java 17 (17.0.10) as well as with Java 21 (21.0.2) from Oracle.
I was able to reproduce the issue also on Docker (on my Windows machine the containers are running in WSL2 Ubuntu environment) with Java 17 OpenJDK.