首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Corosync 2.3.3:无法启用密码

Corosync 2.3.3:无法启用密码
EN

Server Fault用户
提问于 2014-10-29 15:16:44
回答 1查看 965关注 0票数 2

我正在尝试建立一个由2台机器组成的新起搏器。

我以前在corosync1中使用过它,但是在Ubuntu14.04上,我已经得到了corgroc2.3.3OK--我说过,并且尝试使用这个版本的软件。

当我准备一个环的基本配置时--一切都很好。节点是可见的,一切都运行得非常好。

我想要做的是启用节点之间的加密。文档不是很有帮助;/或者我只是太笨了;)

。如何在密码上启用密码?

在手册中,我们可以读到:

代码语言:javascript
复制
          crypto_hash
          This specifies which HMAC authentication should be used to authenticate all messages. Valid values are none (no authentication), md5, sha1, sha256, sha384 and sha512.

          The default is sha1.

          crypto_cipher
          This specifies which cipher should be used to encrypt all messages.  Valid values are none (no encryption), aes256, aes192, aes128 and 3des.  Enabling crypto_cipher, requires also enabling of crypto_hash.

          The default is aes256.

太棒了!因此,让我们尝试使用它:所以在配置中,我已经更改了:

代码语言:javascript
复制
    crypto_cipher: none
    crypto_hash: none

代码语言:javascript
复制
    crypto_cipher: sha1
    crypto_hash: aes256

那我有什么?

代码语言:javascript
复制
Restarting corosync daemon corosync
error   [MAIN  ] Invalid cipher type
error   [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1158.

瓦特?但有人说,这是默认的。我可以成功地使用选项secauth,但它是不可取的。

crypto_cipher的所有可用设置都不被cor产识别。见鬼?

EN

回答 1

Server Fault用户

回答已采纳

发布于 2014-10-30 01:51:04

你已经交换了价值

在这些选项中,必须使用:

代码语言:javascript
复制
crypto_cipher: aes256
crypto_hash: sha1

而不是

代码语言:javascript
复制
crypto_cipher: sha1
crypto_hash: aes256
票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/640560

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档