From 0d2ba9b94d28d4022ea475a2b83157830982c941 Mon Sep 17 00:00:00 2001 From: Wen Hui Date: Thu, 30 May 2024 13:09:29 -0400 Subject: [PATCH] Update redis legacy word when run TLS cert file (#572) Reference: https://github.com/valkey-io/valkey-doc/blob/main/topics/encryption.md Before we runtest --tls, we need first run utils/gen-test-certs.sh I found there are some redis legacy word there, update them. Signed-off-by: hwware --- utils/gen-test-certs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/gen-test-certs.sh b/utils/gen-test-certs.sh index 2036a9b85..411ce83d2 100755 --- a/utils/gen-test-certs.sh +++ b/utils/gen-test-certs.sh @@ -19,7 +19,7 @@ generate_cert() { [ -f $keyfile ] || openssl genrsa -out $keyfile 2048 openssl req \ -new -sha256 \ - -subj "/O=Redis Test/CN=$cn" \ + -subj "/O=Valkey Test/CN=$cn" \ -key $keyfile | \ openssl x509 \ -req -sha256 \ @@ -38,7 +38,7 @@ openssl req \ -x509 -new -nodes -sha256 \ -key tests/tls/ca.key \ -days 3650 \ - -subj '/O=Redis Test/CN=Certificate Authority' \ + -subj '/O=Valkey Test/CN=Certificate Authority' \ -out tests/tls/ca.crt cat > tests/tls/openssl.cnf <<_END_