javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
Exception in thread "main" com.caucho.hessian.client.HessianRuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java)
at $Proxy0.regUser(Unknown Source)
at GMServerSample.regUser(GMServerSample.java:43)
at GMServerSample.main(GMServerSample.java
解决:
date -s "20090719 10:00:00"
hwclock -w命令修改系统时间到当前时间后再执行java程序,报错消失了。
本文记录了一个关于Java程序中出现的SSLHandshakeException错误,并给出了通过调整系统时间来解决该问题的具体步骤。
2142

被折叠的 条评论
为什么被折叠?



