如何在RabbitMQ中添加更多密码?

时间:2017-05-04 07:35:44

标签: encryption openssl erlang rabbitmq

当我检查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}

它只是像其他人一样工作。

1 个答案:

答案 0 :(得分:1)

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

相关问题