Allure Report binaries are located in the internal enterprise Artifactory. The URL is https://artifactory.intern (SSL with non-public Certificate). Certificates are not installed on the local machine.
It seems not possible to get binaries downloaded with maven.
Plugin Version: 2.12.0
To Reproduce
On the local machine configure pom.xml to any https server with not-trusted certificate:
Run mvn allure:install-> ERROR sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - that is okay, because no certificate.
Run mvn -Dmaven.wagon.http.ssl.insecure=true allure:install -> ERROR sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Expected behavior
No errors, file is downloaded successfully
Additional context
Other dependency in the same pom.xml can be successfully downloaded from the same server with -Dmaven.wagon.http.ssl.insecure=true option.
Possible solutions
process -Dmaven.wagon.http.ssl.insecure when downloading
add <ignoreSSL>true</ignoreSSL> option to configuration
Describe the bug
Allure Report binaries are located in the internal enterprise Artifactory. The URL is
https://artifactory.intern
(SSL with non-public Certificate). Certificates are not installed on the local machine.It seems not possible to get binaries downloaded with maven. Plugin Version: 2.12.0
To Reproduce On the local machine configure
pom.xml
to any https server with not-trusted certificate:Run
mvn allure:install
-> ERRORsun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- that is okay, because no certificate.Run
mvn -Dmaven.wagon.http.ssl.insecure=true allure:install
-> ERRORsun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Expected behavior No errors, file is downloaded successfully
Additional context Other dependency in the same pom.xml can be successfully downloaded from the same server with
-Dmaven.wagon.http.ssl.insecure=true
option.Possible solutions
-Dmaven.wagon.http.ssl.insecure
when downloading<ignoreSSL>true</ignoreSSL>
option to configuration