已经按照步骤配置完了,使用:openssl s_client -debug -connect ip :9093 -tls1进行验证,显示信息如下:
error:1408F10B:SSL routines:ssl3_get_record:wrong versin number:ssl\record
\ssl3_record.c:252:
no peer certificate available
No client certificate CA names sent
SSL handshake has read 5 bytes and written 102 bytes
Verification:OK
但是启动生产者消费者能够正常发送和接受消息,server.properties中配置为
listeners=SSL://ip:9093
advertised.listeners=SSL://ip:9093
不确定这种情况下SSL到底有没有开启成功?