MSMQ 需要 AD 证书,但我们使用的是服务帐户
问题: 如何创建 MSMQ 所需的 AD 帐户的 AD 证书,这些证书是在 AD 中的每台计算机首次登录时自动创建的,而无需实际以所述帐户登录?
背景:
我们正在一个项目中使用WCF + MSMQ。 “MSMQ客户端”实际上是一个零交互的Windows服务,处理数据并将其发送到队列。在我们的生产(以及测试等)环境中,此 Windows 服务作为服务帐户运行。
- 此服务帐户位于 AD 中
- 此服务帐户没有交互登录的权限,并且永远不会被授予该权限
- 按照 wcf msmq 服务激活失败 不是一个选项,因为这是一个安全的环境
Issue:
How do you create the AD certificates MSMQ requires of an AD account, which are auto-created per computer in AD upon first login, without actually logging on as said account?
Background:
We are using WCF + MSMQ for a project. The "MSMQ client" is actually a zero-interaction windows service, processing data and sending it to the queue. In our production (and thus test/etc) environments, this windows service runs as a service account.
- This service account IS in AD
- This service account does NOT have permission to log in interactively, and WILL NEVER be given that permission
- Setting security to "off" as per wcf msmq service activation fails is not an option, as this is a secure environment
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是一些博客文章,其中的一些想法可能会有所帮助或提供参考:
不使用域的消息
帐户
来自 Active 的证书
目录
干杯
约翰·布瑞克韦尔
Here are some blog posts with some ideas in that may help or inform:
messages without using a domain
account
certificates from Active
Directory
Cheers
John Breakwell