PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
今天给项目打包出现这个异常,maven-deploy失败了,所有的客户机都是异常报错,百度说是时钟不一致导致的
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project tbm-api: Failed to retrieve remote metadata com.threebody:tbm-api:1.0.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata com.gildata.threebody:tbm-api:1.0.0-SNAPSHOT/maven-metadata.xml from/to snapshots (https://repo.*****.com:443/artifactory/libs-snapshot): sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed: NotAfter: Sat Jan 23 07:59:59 CST 2021 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
1、开关机;
2、正常修改恢复这个代码,删除之后恢复原样打包-正常,然后重新修改-提交
【开发提交代码】另外一种办法也是有效的:
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
原因是:
Checksum validation failed, expected 14386387e9f3b3eb8cc2e9e0c00caf1ec7ea7015 but is f8996611e54a2a9aa90dfd610d27135f522a75b3 from snapshots for https://repo.***com:443/artifactory/libs-snapshot/com/***/threebody/tbm-api/maven-metadata.xml 目前这个忽略了是不是服务器上做了什么变动?是用的docker+jekins还是什么呢?
【配管配置】
需要配管设置jar的有效期,更新一下仓库设置就好了!
PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed相关推荐
- Caused by: java.security.cert.CertPathValidatorException: timestamp check failed
客户端在连接Server端https的时候出现了 以下错误, 12-27 17:52:45.976: W/System.err(10361): Caused by: java.security.cer ...
- imageloader 的 java.security.cert.CertPathValidatorException
最近使用imageloader 发现ssl问题 (java.security.cert.CertPathValidatorException) 网上找了个方法,亲测通过,如下: universalim ...
- java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
Android 忽略Https请求认证 新建一个工具类 package com.gbom.vms_mcu.util;import java.security.SecureRandom; import ...
- 解决开放平台的证书错误:ValidatorException:PKIX path validation failed
解决开放平台的证书错误:ValidatorException:PKIX path validation failed 各开放平台使用SSL请求了,可是不小心证书就不能用了,以前碰到腾讯微博的类似问题, ...
- sqlserver 项目中连接失败,驱动程序无法通过使用安全套接字层(SSL) 与 java.security.cert.CertificateException
问题一:驱动程序无法通过使用安全套接字层(SSL) 注意: 有两个 jre 文件夹,一个是 jdk内包含的,一个是 单独的 jre 解决办法:把jdk下面的\jre\lib\security下面的ja ...
- java.security.cert.CertificateException: No name matching IP found
java.security.cert.CertificateException: No name matching localhost found 解释:安全证书异常,IP地址找不到 解决方案如下:程 ...
- java.security.cert.CertificateException: No name matching https证书验证不通过
1.报错信息 1 java.security.cert.CertificateException: No name matching api.weibo.com found; nested excep ...
- CAS部署错误3:java.security.cert.CertificateException: No name match
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching casse ...
- java.security.cert.Certificate:No subject alternative DNS name matching api.exmail.qq.com found.解决方法
工作中使用https请求,本地调用正常,放到服务器端运行失败,报错为java.security.cert.Certificate:No subject alternative DNS name mat ...
- 解决argo workflow报错:MountVolume.SetUp failed for volume “docker-sock“ : hostPath type check failed
提交workflow时报错: MountVolume.SetUp failed for volume "docker-sock" : hostPath type check fai ...
最新文章
- 前后端分离接口规范~
- winform中构造函数与Form_Load
- information_schema中的所有表和视图
- Ten ways to improve the performance of large tables in MySQL--转载
- 第一天开始学习使用git中遇到的问题
- ppt android sdk,《0.AndroidSDK概述.ppt
- 亲和数 杭电2040
- cocoapods-安装
- vb子程序未定义怎么改怎么办_vb中子程序或者函数未定义!求教解决方案,
- java https请求 证书_java发https请求,证书配置
- Hive增加一列固定值
- mac新手入门:如何在Mac上禁用通知预览?
- java mail 注册邮箱的实现
- 从视频中截取图像opencv python
- 超材料常用的仿真软件CST COMSOL HFSS指导实际操作
- mysql官方自带数据库(例如world.sql)下载
- 内网搭建Ubuntu(银河麒麟)的apt本地源服务器
- 彻底卸载alibabaprotect
- My SQL 创建数据库
- Perl错误处理机制