mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
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 <wen.hui.ware@gmail.com>
This commit is contained in:
parent
6bab2d7968
commit
0d2ba9b94d
@ -19,7 +19,7 @@ generate_cert() {
|
|||||||
[ -f $keyfile ] || openssl genrsa -out $keyfile 2048
|
[ -f $keyfile ] || openssl genrsa -out $keyfile 2048
|
||||||
openssl req \
|
openssl req \
|
||||||
-new -sha256 \
|
-new -sha256 \
|
||||||
-subj "/O=Redis Test/CN=$cn" \
|
-subj "/O=Valkey Test/CN=$cn" \
|
||||||
-key $keyfile | \
|
-key $keyfile | \
|
||||||
openssl x509 \
|
openssl x509 \
|
||||||
-req -sha256 \
|
-req -sha256 \
|
||||||
@ -38,7 +38,7 @@ openssl req \
|
|||||||
-x509 -new -nodes -sha256 \
|
-x509 -new -nodes -sha256 \
|
||||||
-key tests/tls/ca.key \
|
-key tests/tls/ca.key \
|
||||||
-days 3650 \
|
-days 3650 \
|
||||||
-subj '/O=Redis Test/CN=Certificate Authority' \
|
-subj '/O=Valkey Test/CN=Certificate Authority' \
|
||||||
-out tests/tls/ca.crt
|
-out tests/tls/ca.crt
|
||||||
|
|
||||||
cat > tests/tls/openssl.cnf <<_END_
|
cat > tests/tls/openssl.cnf <<_END_
|
||||||
|
Loading…
Reference in New Issue
Block a user