1

我们在客户端 TLS 上面临一个问题。正如您在下面看到的,握手已正确完成,但是 SG 客户端不再发送数据,因此连接关闭。

为了进行测试,我正在使用此链接https://caplonsgprd-x.integration.ibmcloud.com:xxxx/PATH/来发起到达为 TLS 配置的客户端的请求,然后我在日志中看到以下内容:

[Wed Sep 30 14:22:13 2015] [debug] ssl_engine_kernel.c(1907): OpenSSL: Handshake: done
[Wed Sep 30 14:22:13 2015] [info] Connection: Client IP: xx.xx.xx.xx, Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Wed Sep 30 14:22:13 2015] [debug] mod_monitoring.c(213): monitor: Update counters for event 'tls:handshake:done'
[Wed Sep 30 14:22:13 2015] [debug] MonitoringCounter.c(375): monitor: MonitoringCounter_updateCounter (null) TLS_HandshakeSucceed 1
[Wed Sep 30 14:22:13 2015] [debug] mod_monitoring.c(213): monitor: Update counters for event 'tls:handshake:exit'

[Wed Sep 30 14:22:13 2015] [debug] ssl_engine_io.c(1952): OpenSSL: I/O error, 5 bytes expected to read on BIO#7f5eb00011e0 [mem: 7f5ef0751de3]  -> Here we expected the client to send the applicative data which is the HTTPS request with the PATH.
[Wed Sep 30 14:22:13 2015] [info] [client xx.xx.xx.xx] (70014)End of file found: SSL input filter read failed.
4

1 回答 1

1

我已经完成了在 Bluemix US 中创建 TCP 目标到 mongodb 的流程,并启用了客户端 TLS,并使用自签名证书。

如果证书已上传,看起来需要重新启动客户端才能获取证书并使用它。重新启动客户端后,应该可以识别证书并且我能够连接到启用 SSL 的 mongodb。


编辑:安全网关当前不支持上传多个客户端 TLS CA 文件,因此如果链包含多个 CA 证书,客户端将无法连接。

于 2015-10-01T20:07:38.947 回答