kangaroo1122 / milo-spring-boot-starter

基于eclipse milo封装的opc ua客户端starter,方便在spring boot中使用,支持spring boot 3.x。
https://blog.csdn.net/Vampire_1122/article/details/130497727
30 stars 13 forks source link

建立连接池时会报异常 #9

Open tchzh100819 opened 9 months ago

tchzh100819 commented 9 months ago

UaException: status=Bad_SecurityChecksFailed, message=java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

追踪代码发现,milo库中CertificateValidationUtil下的buildCertPath方法报错,参数trustedCertificates,issuerCertificates,trustAnchors均为空,请问这三个参数是什么?需要配置吗?