简体   繁体   中英

How can I authenticate to IBM MQ using XMS .NET Core app running in Linux Docker?

Per my understanding XMS .NET will authenticate with the credentials of the logged in user, which is what our app is doing now running on a Windows server. But we have been asked to move this app into a Linux Docker container and I am unsure of how XMS .NET is now trying to authenticate. The process is running under root, so I'm assuming it is trying to authenticate with that and is failing.

So sorry I did not post the solution to my question earlier, but basically, the IBM MQ server has a service account in a Windows domain which we need to authenticate as. If you run the XMS .NET client using Windows impersonation you can connect to the MQ as that service account. We put this XMS .NET client in a Linux Docker container, created this service account in the Linux container, and it runs under that account. IBM allows this as "cross domain" authentication. Violla!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM