- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我已将 KeyStore 设置为 *User 以从 Windows 证书存储中获取证书。Mq 客户端应用程序正尝试使用来自客户端 Trace 的日志中显示的标签名称来查找证书。我尝试从 client.ini 和代码中设置 CertificateLabel,但它并没有覆盖该值。
我应该如何改变它?即使我可以覆盖我如何更改直接导入到我的证书存储中的证书标签?
请帮忙
000001B6 12:23:39.868134 4236.8 Created store object to access certificates
000001B7 12:23:39.868134 4236.8 Opened store
000001B8 12:23:39.868134 4236.8 Accessing certificate - **ibmwebspheremq(username)**
How should i change the lable in the certificate store for the existing certificate
And then it throws the below exception
000001B9 12:23:39.868134 4236.8 TLS12 supported - True
000001BA 12:23:39.868134 4236.8 Setting SslProtol as Tls
000001BB 12:23:39.868134 4236.8 Starting SSL Authentication
000001BC 12:23:39.868134 4236.8 ------------{ MQEncryptedSocket.FixClientCertificate(Object,String,X509CertificateCollection,X509Certificate,String[])
000001BD 12:23:39.868134 4236.8 Client callback has been invoked to find client certificate
000001BE 12:23:39.868134 4236.8 ------------} MQEncryptedSocket.FixClientCertificate(Object,String,X509CertificateCollection,X509Certificate,String[]) rc=OK
000001BF 12:23:40.507601 4236.8 System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm
最佳答案
在过去的 2 天里,我刚刚用 MQ v.8 解决了这个完全相同的问题,发现 Shashi 的链接很有帮助,但它并没有完全解决我的问题。除了该链接上的说明之外,您还需要确保商店中证书的“友好名称”符合 MQ 证书标签命名约定,即 ibmwebspheremqlogonuserID .
例如,假设您当前已登录并且您的登录 ID 是 jdoe。当您运行 MQ 客户端时,MQ 客户端库将查找具有与 ibmwebspheremqjdoe 匹配的友好名称的证书。最后我只需要添加下面两个属性就可以连接成功了:
properties.Add(MQC.SSL_CERT_STORE_PROPERTY, "*SYSTEM");
properties.Add(MQC.SSL_CIPHER_SPEC_PROPERTY, "TLS_RSA_WITH_AES_128_CBC_SHA");
请记住,我将 CA 签名证书安装到“本地计算机” keystore 中,而不是用户 keystore 中。这就是我在 SSL_CERT_STORE_PROPERTY 中指定 *SYSTEM 的原因。
以下是我使用的所有属性:
properties = new Hashtable();
properties.Add(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_MANAGED);
properties.Add(MQC.HOST_NAME_PROPERTY, hostName);
properties.Add(MQC.PORT_PROPERTY, port);
properties.Add(MQC.CHANNEL_PROPERTY, channelName);
properties.Add(MQC.SSL_CERT_STORE_PROPERTY, "*SYSTEM");
properties.Add(MQC.SSL_CIPHER_SPEC_PROPERTY, "TLS_RSA_WITH_AES_128_CBC_SHA");
关于.net - 从 .Net MQ 客户端的 Windows 证书存储区获取时的证书标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34817966/
我们目前使用 MQ Explorer 来管理 Z/OS 上的 WebSphere MQ V7。前几天误删了一个队列。后来我想回顾一下历史并查看一些日志以了解它究竟发生在何时。我的问题是,MQ Expl
默认情况下是否安装了扩展事务客户端?如何验证是否已安装?我如何安装这个? 最佳答案 在先前版本的 MQ 客户端中,它当然不包含在标准客户端中(事务客户端具有成本/许可影响)。 但是,从 WMQ v7.
我有 2 个队列,比如 Q1 和 Q2。当我使用 MQPUT 将消息插入 Q1 时,有什么方法可以将此消息复制到 Q2 中吗? WMQ 是否支持队列复制? 注意:队列驻留在不同的队列管理器上。 谢谢,
我有一个进程,它使用 JMSTemplate 根据 JMS header 值有选择地从 MQ 队列中出列。 当出队查询匹配队列前面的消息时,出队速率约为 60-70 条消息/秒。但是,当查询仅匹配 5
Source LogPrimaryFiles=3|2-254 (Windows)|2-510 (UNIX systems) The log files allocated when the queue
在Websphere MQ系列中,队列管理器的命令级别是701。它实际上指定了什么? 最佳答案 WebSphere 产品使用“[版本].[发行版].[修改].[修订包]”命名约定。例如,7.0.1.6
在哪里可以找到 IBM MQ 版本 V8.0.0.5 和 V9.0 之间的区别?我试图在 IBM 网站上查找它,但没有成功。 最佳答案 IBM 的 v9 知识中心页面“What's new in Ve
我已经在我的机器上安装了 MQ(已经用 regedit32 检查过)但是当我在命令提示符下键入“runmqsc”时出现错误“无法识别命令”(为 mqjms.jar 设置了环境变量)我是什么失踪 ?我想
我在我的系统中安装了 MQ V8.0.0.2,我正在应用修复包以使用静默安装方法将其升级到 8.0.0.5。它运行成功并完成,但 dspmqver仍然说版本为 8.0.0.2。 它在 64 位的 Wi
我们有一个场景,我们希望 node.js 应用程序使用来自后端系统的消息,该后端系统当前将消息放入 Websphere MQ 队列(通过 SAP PI)。 在 MQ 8.0.0.3 中,有一个 AMQ
我们有消息通过 WebSphere MQ 队列传入。我们需要很长时间才能收到消息。 是否有一种简单易行的方法来跟踪收到/提取消息的时间? 最佳答案 发送消息后,您可以请求确认交货。当消息被消费时,一条
我想将文件系统中的文件加载到 WebSphere MQ 队列。有几个支持 pacs - Q Program和 MO03: WebSphere MQ Queue Load / Unload Utilit
有人使用过 RPG 中的 MQ 吗?问题如下。队列中有几条消息。它们都带有 RFH2 header 。每个 header 都包含一组 NameValueData。我正在创建消息句柄并将其传递给 MQG
我有一组 IBM MQ 队列管理器,想知道其中一个何时重新启动或何时自动故障转移到备用实例。 队列管理器位于 AIX 上 问候, 最佳答案 您可以从 AMQERR01.LOG 中找到此信息。队列管理器
作为我们应用程序安装的一部分,我需要将一堆 xml 消息放入一个 MQ 队列中。为了使它更复杂,消息需要设置 RFH2 header 的 usr 文件夹。 我发现 mqput2.exe来自 IBM R
我一直在研究变幻莫测的 channel 状态、它们如何进入这些状态以及如何停止或启动它们。我现在已经有了相当扎实的理解,但是一位同事提出了 channel 重置的话题。 当我无法解释发生了什么时,我偶
我从 MQ 安全演示文稿中看到一项建议,如果您不需要命令服务器,它会关闭它。我的问题是如何确定我是否真的需要它。 从我的角度来看,如果没有运行目标 QMGR 的管理程序,例如 MQ Explorer
是否可以保留已检索且不再位于队列中的消息历史记录(包含消息内容将是完美的)? 在应用程序中,我可以看到发送者何时尝试将消息放入队列以及接收者何时尝试拾取消息,但我想查看消息何时真正到达队列以及消息何时
有没有办法找到在特定时间段内通过 IBM websphere MQ 队列管理器的消息总数? 最佳答案 这听起来像是 MQ 记帐和统计功能的完美使用。除此之外,这些功能还记录消息数量(具有持久和非持久计
我正在向远程队列发送消息,但我无法控制该队列。 我发送一个 xml 文件作为消息,但是当应用程序读取消息时,它会得到一个消息头,例如 jms_text \0\0\0lqueue:///TEST128
我是一名优秀的程序员,十分优秀!