RabbitMQ小结

1、帮助文档

rabbitmq官网:http://www.rabbitmq.com/

rabbitmq谷歌论坛:https://groups.google.com/forum/#!forum/rabbitmq-users

rabbitmq github:https://github.com/rabbitmq

 

2、Problem with SSL on RabbitMQ 3.6.5 and Erlang 19.1

解决方案:使用 rabbitmq 开发版 erlang(windows用户等待 erlang 官方修复)

解决方案地址参考:

https://groups.google.com/forum/#!topic/rabbitmq-users/c83RaVsIses

https://bugs.erlang.org/browse/ERL-259

https://groups.google.com/forum/#!topic/rabbitmq-users/dVvinUgPIWY

开发版 erlang 下载地址:https://github.com/rabbitmq/erlang-rpm/releases

 

3、证书问题

要求代码中的 ServerName 必须与服务器中的 CN 一致,如果不一致, SslPolicyErrors.RemoteCertificateNameMismatch 不可以注释。

HostName 与 ServerName 可以不一致,例如 HostName 写的是服务器的外网ip地址,ServerName 写的是服务器的主机名。

 

4、证书问题测试用例

openssl s_server -accept 5671 -CAfile testca/cacert.pem -cert server/cert.pem -key server/key.pem -state

 

openssl s_client -connect localhost:5671 -CAfile testca/cacert.pem -cert client/cert.pem -key client/key.pem -showcerts

 

转载于:https://www.cnblogs.com/tq1226112215/p/5972167.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值