RabbitMQ集群开启自建SSL证书踩过的坑
本文最后更新于 1149 天前,其中的信息可能已经有所发展或是发生改变。

RabbitMQ集群开启SSL证书踩过的坑

RabbitMQ集群环境

版本:RabbitMQ 3.10.0-rc.6Erlang 23.3.4.7

服务器SSH版本:OpenSSH_8.9p1, OpenSSL 1.1.1q 5 Jul 2022

过程

RabbitMQ集群使用非ssl端口连接正常,但使用ssl端口无法建立连接。

因证书为虚拟机自建证书,开始以为是配置文件有误,但核查发现已经排除。

最后通过虚拟机重新生成证书,连接ssl端口依旧无法建立连接。程序连接报错只是Connection refused: connect

于是在本地再搭建了一台rabbitmq+ssl的环境测试连接生产消费都正常,于是奇了怪。

最后把本地虚拟生成的ssl证书放到生产集群,问题解决了!

于是乎,对比了一下本地虚拟机OpenSSH版本是7.4,而生产集群的OpenSSH版本为:8.9,可能最后问题就出在这里吧。因为都是自建的证书使用的是OpenSSH

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇