diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2019-10-22 16:02:28 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2019-10-29 14:57:02 +0000 |
commit | f221ba83e11fced96b5a7b506e692358ed278ca2 (patch) | |
tree | f544b1db9907ad274c7553f007ab6c77cd97ae41 /tests/features | |
parent | f5811979935ce607391825ac6913a95f588818e3 (diff) |
ssl/test: Change the rsa key length to 2048
On a rhel-8 machine, we need to have a key length
greater than or eaual to 2048. So changing the values
to 2048 to pass the test.
Credits: Mohit Agrawal <moagrawal@redhat.com>
Change-Id: I0f21db4d737203d0b2e44e7e61f50ae1279795ad
Updates: bz#1756900
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'tests/features')
-rwxr-xr-x | tests/features/ssl-authz.t | 2 | ||||
-rw-r--r-- | tests/features/ssl-ciphers.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/ssl-authz.t b/tests/features/ssl-authz.t index 3cb45b5e582..cae010cbe40 100755 --- a/tests/features/ssl-authz.t +++ b/tests/features/ssl-authz.t @@ -41,7 +41,7 @@ function valid_ciphers { -e '/:$/s///' } -TEST openssl genrsa -out $SSL_KEY 1024 +TEST openssl genrsa -out $SSL_KEY 2048 TEST openssl req -new -x509 -key $SSL_KEY -subj /CN=Anyone -out $SSL_CERT ln $SSL_CERT $SSL_CA diff --git a/tests/features/ssl-ciphers.t b/tests/features/ssl-ciphers.t index 7e1e1996ac6..7621939a714 100644 --- a/tests/features/ssl-ciphers.t +++ b/tests/features/ssl-ciphers.t @@ -65,7 +65,7 @@ TEST glusterd TEST pidof glusterd TEST $CLI volume info; -TEST openssl genrsa -out $SSL_KEY 1024 2>/dev/null +TEST openssl genrsa -out $SSL_KEY 2048 2>/dev/null TEST openssl req -config $SSL_CFG -new -key $SSL_KEY -x509 \ -subj /CN=CA -out $SSL_CA TEST openssl req -config $SSL_CFG -new -key $SSL_KEY \ |