【问题标题】:How to add more ciphers to RabbitMQ?如何向 RabbitMQ 添加更多密码?
【发布时间】:2017-10-02 06:22:03
【问题描述】:

当我检查 RabbitMQ/Erlang 支持的密码列表时,我看到以下内容:

[root@node ~]# rabbitmqctl eval 'ssl:cipher_suites().'
[{dhe_rsa,aes_256_cbc,sha256},
 {dhe_dss,aes_256_cbc,sha256},
 {rsa,aes_256_cbc,sha256},
 {dhe_rsa,aes_128_cbc,sha256},
 {dhe_dss,aes_128_cbc,sha256},
 {rsa,aes_128_cbc,sha256},
 {dhe_rsa,aes_256_cbc,sha},
 {dhe_dss,aes_256_cbc,sha},
 {rsa,aes_256_cbc,sha},
 {dhe_rsa,'3des_ede_cbc',sha},
 {dhe_dss,'3des_ede_cbc',sha},
 {rsa,'3des_ede_cbc',sha},
 {dhe_rsa,aes_128_cbc,sha},
 {dhe_dss,aes_128_cbc,sha},
 {rsa,aes_128_cbc,sha},
 {rsa,rc4_128,sha},
 {rsa,rc4_128,md5},
 {dhe_rsa,des_cbc,sha},
 {rsa,des_cbc,sha}]
...done.

但是我的 OpenSSL (1.0.1e-fips) 似乎支持的不止这些。

我的问题是,如何向 RabbitMQ 添加更多密码以供使用?更具体地说,我想使用 GCM 密码。

如果我在配置文件中加一个,例如:

{dhe_rsa,aes_128_gcm,sha256}

它根本不会像其他人那样工作。

【问题讨论】:

  • 请出示您的 RabbitMQ 代码。

标签: encryption openssl erlang rabbitmq


【解决方案1】:

如果你有最新版本的 erlang,你可以检查一些旧版本是否支持这个密码,也许它在某些更新中被删除了。

【讨论】:

  • 看起来是这样,但反过来:当前版本的 Erlang 不支持这些密码,因此至少需要升级到 OTP 18。
猜你喜欢
  • 1970-01-01
  • 2013-07-16
  • 1970-01-01
  • 2022-01-04
  • 2019-06-01
  • 2013-09-05
  • 2015-05-20
  • 2011-03-01
  • 1970-01-01
相关资源
最近更新 更多