【发布时间】:2018-03-31 03:52:18
【问题描述】:
我们正在尝试将新更新的证书导入生产中 MQ 窗口中的密钥库,但在部署证书后通道将进入重新绑定状态。看起来我们的队列管理器没有从下面的错误中读取证书。证书的颁发者以前和现在是相同的。使用的证书是 rootCA5、serverCA5 和个人证书。当我们放回旧证书时,渠道工作正常。我已经检查了 ssl 文件夹和密钥库的权限,它们很好。由于我们的旧证书明天就要到期了。我们正在使用的MQ版本是MQ7.1.0.7。
我们尝试在 qm.ini 文件中添加以下参数,但昨天遇到了同样的问题。
SSL:
OCSPAuthentication=OPTIONAL
OCSPCheckExtensions=NO
在队列管理器的 AMQERR01.LOG 中记录了以下错误:
10/18/2017 19:29:45 - Process(3084.1) User(4055TMQU) Program(runmqchl.exe)
Host(abcdefgh) Installation(Installation1)
VRMF(7.1.0.7) QMgr(QMPDBP)
AMQ9642: No SSL or TLS certificate for channel 'xxxxxx.yyyyyy'.
EXPLANATION:
The channel 'xxxxxx.yyyyyy' did not supply a certificate to use during SSL
or TLS handshaking, but a certificate is required by the remote queue manager.
The remote host is 'abcdefgh (10.x.x.x)(1415)'.
The channel did not start.
ACTION:
Ensure that the key repository of the local queue manager or MQ client contains
a certificate which is associated with the queue manager or client.
Alternatively, if appropriate, change the remote channel definition so that its
SSLCAUTH attribute is set to OPTIONAL and it has no SSLPEER value set.
【问题讨论】:
-
您是否检查过证书的标签是否与字符串
ibmwebspheremqqmpdbp匹配? -
@JoshMc,这正是我们的问题。我们有一个错误的标签。我编辑了标签。希望现在我们的证书可以正常工作。
-
Rinak,我写了一个包含更多细节的答案,如果它解决了你的问题,请接受并投票。