我遇到了ActiveMQ Artemis AMQ229031 error with mutual SSL中描述的相同问题。
设置是按照官方示例完成的。
看起来代码出了点问题。我能够重现上面提到的问题。
客户端说:
Exception in thread "main" javax.jms.JMSSecurityException: AMQ229031: Unable to validate user from /127.0.0.1:47822. Username: null; SSL certificate subject DN: CN=ActiveMQ Artemis Client, OU=Artemis, O=ActiveMQ, L=AMQ, ST=AMQ, C=AMQ服务器端日志文件显示:
021-06-22 06:27:49,209 WARN [org.apache.activemq.artemis.core.server] AMQ222216: Security problem while authenticating: AMQ229031: Unable to validate user from /127.0.0.1:47404. Username: null; SSL certificate subject DN: CN=ActiveMQ Artemis Client, OU=Artemis, O=ActiveMQ, L=AMQ, ST=AMQ, C=AMQ我认为Artemis找到了证书,但无法验证。
发布于 2021-08-24 09:16:44
升级到2.18.0版可以解决此问题。它现在运行得很好。
https://stackoverflow.com/questions/68078039
复制相似问题