Skip to content

Commit

Permalink
Update redis legacy word when run TLS cert file (valkey-io#572)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hwware authored May 30, 2024
1 parent 6bab2d7 commit 0d2ba9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/gen-test-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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_
Expand Down

0 comments on commit 0d2ba9b

Please sign in to comment.