解决方案

查看与 SSL 问题相关的大量详细日志:将 javax.net.debug=ssl运行时参数传递给服务器/程序来启用 SSL 调试日志记录。

-Djavax.net.debug=ssl
之路 on it Road.com

原因

原因有很多:

  • 文件未找到
  • 密码错误
  • 错误的密钥库类型
  • 错误的证书位置
Java security报异常 InvalidAlgorithmParameterException

问题:

I/O error: java.security.NoSuchAlgorithmException: Error Constructioning implementation

com.onitroad.aav.exception.SystemException: I/O error: java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is 
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: 
the trustAnchors parameter must be non-empty
	at com.onitroad.aav.profilemaintenance.dao.impl.ClassName.methodName(ClassName.java:53)
日期:2020-09-17 00:09:38 来源:oir作者:oir