小编Mas*_*ols的帖子

如何在 Mac 上使用 TLS 构建 Redis 6

我想在 Mac(macOS 10.15.4,内核:Darwin 19.4.0)上使用 TLS 和 Redis。这是我根据文档尝试的:

export BUILD_TLS=yes
mkdir redis && cd redis
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make BUILD_TLS=yes
make test
sudo make install
Run Code Online (Sandbox Code Playgroud)

所有测试都通过了,但是当我运行时:

% redis-server --tls-cluster yes
Run Code Online (Sandbox Code Playgroud)

我得到错误:

*** FATAL CONFIG FILE ERROR (Redis 6.0.4) *** Reading the configuration file, at line 2
>>> 'tls-cluster "yes"'
Bad directive or wrong number of arguments
Run Code Online (Sandbox Code Playgroud)

macos ssl redis

6
推荐指数
1
解决办法
915
查看次数

标签 统计

macos ×1

redis ×1

ssl ×1