docker ca PKIX path building failed

在DOCKER下面增加了ca认证,但用MAVEN命令打包package docker:build 出现以下错误:
Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (build-image) on project eurake-server: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
意思是说找不到证书的路径,请在POM文件下面补充:

https://xxx:2375

D:\docker
重新再执行MAVEN命令打包package docker:build就可以了

你可能感兴趣的:(docker ca PKIX path building failed)