ActiveMQ 和客户端通过证书身份验证身份

发布于 2024-09-17 01:11:21 字数 254 浏览 4 评论 0原文

有没有办法确定 ActiveMQ(一般为 JMS)中使用客户端证书通过 SSL 成功连接到代理的消息发送者的身份?

我计划使用 JM 在网络中的远程终端和外围服务器之间进行通信,这仅仅是因为内部为支持内部网络中的 JMS 所做的大量工作。终端应用程序使用客户端证书对 ActiveMQ JMS 代理进行身份验证,但是,我试图找出是否有办法确定远程终端连接到外围服务器上的 JMS 所使用的证书,以便通过该证书向身份验证服务提供信息。

任何想法或想法都将不胜感激。

Is there a way to determine the identity of a Message sender in ActiveMQ (JMS in general) that successfully connected to a broker via SSL using a client certificate?

I am planning on using JMs for communications between a remote terminal and a perimeter server within my network simply because of the extensive work that's been done internally to support JMS in the internal network. The terminal application uses a client certificate to authenticate to the ActiveMQ JMS broker, nevertheless, i'm trying to find out if there's a way to determine the certificate used by the remote terminal to connect to JMS at the perimeter server in order to pass that information to the authentication service.

Any thoughts or ideas are greatly appreciated..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

全部不再 2024-09-24 01:11:21

我想我大约在一年前问过这个问题,从那时起我就成功地捕获了 SSL 连接的用户。

答案非常简单,将 populateJMSXUserID="true" 添加到代理定义中。

如果您需要帮助配置 SSL 客户端身份验证,我发现 Fuse Source 拥有迄今为止一些最全面、最详细的文档在 ActiveMQ(Fuse 消息代理)上。您可以找到有关JAAS 证书身份验证插件 这里。

I figured I asked this question about a year ago and since then I have manged to successfully capture the SSL connection's user.

The answer is quite simple, add populateJMSXUserID="true" to the broker definition.

If you need help configuring SSL client authentication, I have found Fuse Source to have by far some of the most well rounded and detailed documentation on ActiveMQ (Fuse Message Broker). You can find more details about JAAS Certificate Authentication Plug-In here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文