###発生している問題・エラーメッセージ
Maven3.3.3にてmvn deployを行うとSSLエラーが発生してしまいます。
デプロイ先はnginxのwebdavです
以下nginxのコンフィグです
nginx
1 location / { 2 root /var/www/maven; 3 4 auth_basic "maven"; 5 auth_basic_user_file /etc/nginx/conf.d/.htpasswd; 6 7 client_max_body_size 100m; 8 9 autoindex on; 10 autoindex_exact_size off; 11 autoindex_localtime on; 12 13 client_body_temp_path /var/www/maven; 14 create_full_put_path on; 15 16 dav_access group:r all:r; 17 dav_methods PUT DELETE MKCOL COPY MOVE; 18 } 19
maven上でのエラーは以下のものになります
maven
1[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project PRJ: Failed to retrieve remote metadata PRJ:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata PRJ:1.0-SNAPSHOT/maven-metadata.xml from/to snapshots (https://URL/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] 2[ERROR] 3[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 4[ERROR] Re-run Maven using the -X switch to enable full debug logging. 5[ERROR] 6[ERROR] For more information about the errors and possible solutions, please read the following articles: 7[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 8
証明書はLet's Encryptを使用しています。
あなたの回答
tips
プレビュー