You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2021/11/02 14:33:17 UTC

[ignite] branch master updated: IGNITE-15826: set storetype JKS for ducktests. (#9528)

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 400827e  IGNITE-15826: set storetype JKS for ducktests. (#9528)
400827e is described below

commit 400827eb1a0e4048ab4a40cf21122dd1db2844d1
Author: Sergei Ryzhov <s....@gmail.com>
AuthorDate: Tue Nov 2 17:32:54 2021 +0300

    IGNITE-15826: set storetype JKS for ducktests. (#9528)
---
 modules/ducktests/tests/certs/functions.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/ducktests/tests/certs/functions.sh b/modules/ducktests/tests/certs/functions.sh
index ffe07e0..9a6235a 100644
--- a/modules/ducktests/tests/certs/functions.sh
+++ b/modules/ducktests/tests/certs/functions.sh
@@ -29,7 +29,7 @@ function makeRoot() {
     rm -f "${ALIAS}.pem"
 
     keytool -genkeypair -keystore "${ALIAS}.jks" -alias "${ALIAS}" -dname "${DNAME}" -ext bc:c -storepass "${PSWD}" \
-     -keypass "${PSWD}" -noprompt -v
+     -keypass "${PSWD}" -storetype JKS -noprompt -v
 
     keytool -keystore "${ALIAS}.jks" -storepass "${PSWD}" -keypass "${PSWD}" -alias "${ALIAS}" -exportcert \
      -rfc -file "${ALIAS}.pem" -v
@@ -50,14 +50,14 @@ function makeCA() {
     rm -f "${ALIAS}.pem"
 
     keytool -genkeypair -keystore "${ALIAS}.jks" -alias "${ALIAS}" -dname "${DNAME}" -ext bc:c -storepass "${PSWD}" \
-     -keypass "${PSWD}" -noprompt -v
+     -keypass "${PSWD}" -storetype JKS -noprompt -v
 
     keytool -storepass "${PSWD}" -keypass "${PSWD}" -keystore "${ALIAS}.jks" -certreq -alias "${ALIAS}" \
       | keytool -storepass "${PSWD}" -keypass "${PSWD}" -keystore "${ROOT}.jks" -gencert -alias "${ROOT}" \
       -ext BC=0 -rfc -outfile "${ALIAS}.pem" -v
 
     keytool -keystore "${ALIAS}.jks" -storepass "${PSWD}" -keypass "${PSWD}" -importcert -alias "${ROOT}" \
-    -file "${ROOT}.pem"  -noprompt -v
+    -file "${ROOT}.pem" -noprompt -v
     keytool -keystore "${ALIAS}.jks" -storepass "${PSWD}" -keypass "${PSWD}" -importcert -alias "${ALIAS}" \
     -file "${ALIAS}.pem" -noprompt -v
 }
@@ -78,7 +78,7 @@ function mkCert() {
     rm -f "${ALIAS}.csr"
 
     keytool -genkeypair -keystore "${ALIAS}.jks" -alias "${ALIAS}" -dname "${DNAME}" -keyalg RSA -keysize 2048 \
-     -keypass "${PSWD}" -storepass "${PSWD}" -noprompt -v || error
+     -keypass "${PSWD}" -storepass "${PSWD}" -storetype JKS -noprompt -v || error
 
     keytool -storepass "${PSWD}" -keystore "${ALIAS}.jks" -certreq -alias "${ALIAS}" -file "${ALIAS}.csr" -v || error
 
@@ -98,7 +98,7 @@ function makeTruststore() {
     # shellcheck disable=SC2068
     for cert in $@ ; do
       keytool -keystore truststore.jks -importcert -alias "${cert}" -storepass 123456 -file "${cert}.pem" \
-       -noprompt -v || error
+       -storetype JKS -noprompt -v || error
 
     done
 }