diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/inter_ca.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/inter_ca.p12 index 9273cd3510..a6e945c2f0 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/inter_ca.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/inter_ca.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner1_ca.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner1_ca.p12 index cf0c5920bc..fc89f3e90f 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner1_ca.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner1_ca.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner2_ca.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner2_ca.p12 index b5c1504fe5..c9fe718679 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner2_ca.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/partner2_ca.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/root_ca.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/root_ca.p12 index e5b8bdd364..8fc62a23ac 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/root_ca.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/ca_certs/root_ca.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/create.sh b/acceptance-tests/tests/src/test/resources/pki-certs/create.sh new file mode 100644 index 0000000000..c780e5e113 --- /dev/null +++ b/acceptance-tests/tests/src/test/resources/pki-certs/create.sh @@ -0,0 +1,176 @@ +#! /bin/sh + +set -e + +names=("partner1:miner1" "partner1:miner2" "partner1:miner3" "partner1:miner4" "partner1:miner5" "partner2:miner6") +crls=("partner1:miner5" "partner2:miner6") +KEY_ALG="EC -groupname secp256r1" +#KEY_ALG="RSA -keysize 2048" + +########## +CA_CERTS_PATH=./ca_certs +ROOT_CA_KS=$CA_CERTS_PATH/root_ca.p12 +INTER_CA_KS=$CA_CERTS_PATH/inter_ca.p12 +PARTNER1_CA_KS=$CA_CERTS_PATH/partner1_ca.p12 +PARTNER2_CA_KS=$CA_CERTS_PATH/partner2_ca.p12 +CRL_DIR=./crl + +mkdir $CA_CERTS_PATH + +keytool -genkeypair -alias root_ca -dname "CN=root.ca.besu.com" -ext bc:c -keyalg RSA -keysize 2048 \ +-sigalg SHA256WithRSA -validity 36500 \ +-storepass test123 \ +-keystore $ROOT_CA_KS + +keytool -exportcert -keystore $ROOT_CA_KS -storepass test123 -alias root_ca -rfc -file $CA_CERTS_PATH/root_ca.pem + +keytool -genkeypair -alias inter_ca -dname "CN=inter.ca.besu.com" \ +-ext bc:c=ca:true,pathlen:1 -ext ku:c=dS,kCS,cRLs \ +-keyalg RSA -sigalg SHA256WithRSA -validity 36500 \ +-storepass test123 \ +-keystore $INTER_CA_KS + +keytool -exportcert -keystore $INTER_CA_KS -storepass test123 -alias inter_ca -rfc -file $CA_CERTS_PATH/inter_ca.pem + +keytool -genkeypair -alias partner1_ca -dname "CN=partner1.ca.besu.com" \ +-ext bc:c=ca:true,pathlen:0 -ext ku:c=dS,kCS,cRLs \ +-keyalg RSA -sigalg SHA256WithRSA -validity 36500 \ +-storepass test123 \ +-keystore $PARTNER1_CA_KS + +keytool -exportcert -keystore $PARTNER1_CA_KS -storepass test123 -alias partner1_ca -rfc -file $CA_CERTS_PATH/partner1_ca.pem + +keytool -genkeypair -alias partner2_ca -dname "CN=partner2.ca.besu.com" \ +-ext bc:c=ca:true,pathlen:0 -ext ku:c=dS,kCS,cRLs \ +-keyalg RSA -sigalg SHA256WithRSA -validity 36500 \ +-storepass test123 \ +-keystore $PARTNER2_CA_KS + +keytool -exportcert -keystore $PARTNER2_CA_KS -storepass test123 -alias partner2_ca -rfc -file $CA_CERTS_PATH/partner2_ca.pem + +keytool -storepass test123 -keystore $INTER_CA_KS -certreq -alias inter_ca \ +| keytool -storepass test123 -keystore $ROOT_CA_KS -gencert -validity 36500 -alias root_ca \ +-ext bc:c=ca:true,pathlen:1 -ext ku:c=dS,kCS,cRLs -rfc > $CA_CERTS_PATH/inter_ca.pem + +cat $CA_CERTS_PATH/root_ca.pem >> $CA_CERTS_PATH/inter_ca.pem + +keytool -keystore $INTER_CA_KS -importcert -alias inter_ca \ +-storepass test123 -noprompt -file $CA_CERTS_PATH/inter_ca.pem + +keytool -storepass test123 -keystore $PARTNER1_CA_KS -certreq -alias partner1_ca \ +| keytool -storepass test123 -keystore $INTER_CA_KS -gencert -validity 36500 -alias inter_ca \ +-ext bc:c=ca:true,pathlen:0 -ext ku:c=dS,kCS,cRLs -rfc > $CA_CERTS_PATH/partner1_ca.pem + +keytool -storepass test123 -keystore $PARTNER2_CA_KS -certreq -alias partner2_ca \ +| keytool -storepass test123 -keystore $INTER_CA_KS -gencert -validity 36500 -alias inter_ca \ +-ext bc:c=ca:true,pathlen:0 -ext ku:c=dS,kCS,cRLs -rfc > $CA_CERTS_PATH/partner2_ca.pem + +cat $CA_CERTS_PATH/inter_ca.pem >> $CA_CERTS_PATH/partner1_ca.pem +cat $CA_CERTS_PATH/inter_ca.pem >> $CA_CERTS_PATH/partner2_ca.pem + +keytool -keystore $PARTNER1_CA_KS -importcert -alias partner1_ca \ +-storepass test123 -noprompt -file $CA_CERTS_PATH/partner1_ca.pem + +keytool -keystore $PARTNER2_CA_KS -importcert -alias partner2_ca \ +-storepass test123 -noprompt -file $CA_CERTS_PATH/partner2_ca.pem + +echo "Generating miner keystores..." +### Generate client keystores +for name in "${names[@]}" +do + IFS=':' read -r -a array <<< "$name" + partner=${array[0]} + client=${array[1]} + + PARTNER_CA_KEYSTORE="$CA_CERTS_PATH/${partner}_ca.p12" + CLIENT_PATH="./${client}" + KEYSTORE_PATH="./$CLIENT_PATH/${client}.p12" + NSSDB_PATH="${CLIENT_PATH}/nssdb" + + echo "$PARTNER_CA_KEYSTORE" + + mkdir -p $NSSDB_PATH + + echo "Generating keystore for Partner $partner Client $client" + keytool -genkeypair -keystore $KEYSTORE_PATH -storepass test123 -alias ${client} \ + -keyalg $KEY_ALG -validity 36500 \ + -dname "CN=localhost, OU=${partner}" \ + -ext san=dns:localhost,ip:127.0.0.1 + + echo "Creating CSR for $client and signing it with ${partner}_ca" + keytool -storepass test123 -keystore $KEYSTORE_PATH -certreq -alias ${client} \ + | keytool -storepass test123 -keystore $PARTNER_CA_KEYSTORE -gencert -validity 36500 -alias "${partner}_ca" -ext ku:c=digitalSignature,nonRepudiation,keyEncipherment -ext eku=sA,cA \ + -rfc > "${CLIENT_PATH}/${client}.pem" + + echo "Concat root_ca.pem to ${client}.pem" + cat "${CA_CERTS_PATH}/root_ca.pem" >> "${CLIENT_PATH}/${client}.pem" + + echo "Importing signed $client.pem CSR into $KEYSTORE_PATH" + keytool -keystore $KEYSTORE_PATH -importcert -alias $client \ + -storepass test123 -noprompt -file "${CLIENT_PATH}/${client}.pem" + + echo "Converting p12 to jks" + keytool -importkeystore -srckeystore $KEYSTORE_PATH -srcstoretype PKCS12 -destkeystore "$CLIENT_PATH/${client}.jks" -deststoretype JKS -srcstorepass test123 -deststorepass test123 -srcalias $client -destalias $client -srckeypass test123 -destkeypass test123 -noprompt + + echo "Initialize nss" + echo "test123" > ${CLIENT_PATH}/nsspin.txt + certutil -N -d sql:${NSSDB_PATH} -f "${CLIENT_PATH}/nsspin.txt" + # hack to make Java SunPKCS11 work with new sql version of nssdb + touch ${NSSDB_PATH}/secmod.db + + pk12util -i $KEYSTORE_PATH -d sql:${NSSDB_PATH} -k ${CLIENT_PATH}/nsspin.txt -W test123 + echo "Fixing truststores in sql:${NSSDB_PATH}" + certutil -M -n "CN=root.ca.besu.com" -t CT,C,C -d sql:"$NSSDB_PATH" -f ${CLIENT_PATH}/nsspin.txt + certutil -M -n "CN=inter.ca.besu.com" -t u,u,u -d sql:"$NSSDB_PATH" -f ${CLIENT_PATH}/nsspin.txt + certutil -M -n "CN=${partner}.ca.besu.com" -t u,u,u -d sql:"$NSSDB_PATH" -f ${CLIENT_PATH}/nsspin.txt + + certutil -d sql:"$NSSDB_PATH" -f nsspin.txt -L + + echo "Creating pkcs11 nss config file" + cat <${CLIENT_PATH}/nss.cfg +name = NSScrypto-${partner}-${client} +nssSecmodDirectory = ./src/test/resources/pki-certs/${client}/nssdb +nssDbMode = readOnly +nssModule = keystore +showInfo = true +EOF + + # remove pem files + rm "${CLIENT_PATH}/${client}.pem" + + # create truststore + echo "Creating truststore ..." + keytool -exportcert -keystore $ROOT_CA_KS -storepass test123 -alias root_ca -rfc | keytool -import -trustcacerts -alias root_ca -keystore "${CLIENT_PATH}/truststore.p12" -storepass test123 -noprompt +## keytool -exportcert -keystore $INTER_CA_KS -storepass test123 -alias inter_ca -rfc | keytool -import -trustcacerts -alias inter_ca -keystore "${CLIENT_PATH}/truststore.p12" -storepass test123 -noprompt +## keytool -exportcert -keystore $PARTNER_CA_KEYSTORE -storepass test123 -alias "${partner}_ca" -rfc | keytool -import -trustcacerts -alias "${partner}_ca" -keystore "${CLIENT_PATH}/truststore.p12" -storepass test123 -noprompt + +done +rm $CA_CERTS_PATH/root_ca.pem +echo "Keystores and nss database created" + +## create crl list +mkdir -p $CRL_DIR +## rm $CRL_DIR/crl.pem + +for crl in "${crls[@]}" +do + IFS=':' read -r -a array <<< "$crl" + partner=${array[0]} + client=${array[1]} + + echo "Exporting CA certificate and private key" + openssl pkcs12 -nodes -in "$CA_CERTS_PATH/${partner}_ca.p12" -out "$CRL_DIR/${partner}_ca_key.pem" -passin pass:test123 -nocerts + openssl pkcs12 -nodes -in "$CA_CERTS_PATH/${partner}_ca.p12" -out "$CRL_DIR/${partner}_ca.pem" -passin pass:test123 -nokeys + + echo "Export $client certificate" + openssl pkcs12 -nodes -in "./${client}/${client}.p12" -out "$CRL_DIR/${client}.pem" -passin pass:test123 -nokeys + + ## On Mac, use gnutls-certtool, on Linux use certtool + echo "Creating crl" + printf '365\n\n' | gnutls-certtool --generate-crl --load-ca-privkey "$CRL_DIR/${partner}_ca_key.pem" --load-ca-certificate "$CRL_DIR/${partner}_ca.pem" \ + --load-certificate "$CRL_DIR/${client}.pem" >> $CRL_DIR/crl.pem + + rm "$CRL_DIR/${partner}_ca_key.pem" + rm "$CRL_DIR/${partner}_ca.pem" + rm "$CRL_DIR/${client}.pem" +done diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/crl/crl.pem b/acceptance-tests/tests/src/test/resources/pki-certs/crl/crl.pem index 4e35203191..763d01c19d 100644 --- a/acceptance-tests/tests/src/test/resources/pki-certs/crl/crl.pem +++ b/acceptance-tests/tests/src/test/resources/pki-certs/crl/crl.pem @@ -1,26 +1,28 @@ -----BEGIN X509 CRL----- -MIICCTCB8gIBATANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRwYXJ0bmVyMS5j -YS5iZXN1LmNvbRcNMjMwMjAyMDcyODAyWhcNMjQwMjAyMDcyODAyWjBcMBUCBGPB -QSgXDTIzMDIwMjA3MjgwMlowFQIEEevs6RcNMjMwMjAyMDcyODAyWjAVAgQsaU0G -Fw0yMzAyMDIwNzI4MDJaMBUCBG2UiBoXDTIzMDIwMjA3MjgwMlqgQTA/MB8GA1Ud -IwQYMBaAFBIuwtMGbq3lv8zRoPbkRVU3C7+cMBwGA1UdFAQVAhNj22YCCfR6KAr3 -Jz9Wf/uqHx6QMA0GCSqGSIb3DQEBCwUAA4IBAQBfprxahWbxzS/+Wl7E9u8TSn1s -Wu2bigQb7iN5zeL6t/8JQ514Y3MR88AZ3O3Wk4QyLOl+0iwxvg7cp7CJQtGYbU3X -wsYGESYwQZmTxRqsTj6+ZdmHRCeYzKz/GyM+L0SJfvQrZhlOPI45xrnKgMq5PFfD -UMhZOX/QS8XZB0z0RHiGICcYZo0MAB6MLy3svTzWfulCR23BA+V1R15iHFCWqdyV -newrb6LFqz2ZEj0j6N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0oKoueiHodWivLQx+CJVbPAzxFEVh0JjecoFw8Tf9FGTqy8jJRdno9HgKDg +BB7w7kPGF7xoaAbukwTXFz7f1nep44oqge+leEc398tdFDxmwralXAUB0A2v/vDG +cSZTr+fyTri+zHjQzeq6//y2GF7S56KSyBXDXTJrvqtuijiVHTzQku+pbVNNrid5 +LgCJI7Phj2Q8k26z0+JJ -----END X509 CRL----- diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.jks b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.jks index d5bc6e58b2..df9dfad4b5 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.jks and b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.jks differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.p12 index 2af9c63056..baba59128a 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/miner1.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/cert9.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/cert9.db index a8d86c4a02..33e83d02b7 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/cert9.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/cert9.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/key4.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/key4.db index e0fe6d8938..03a4a5e5b8 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/key4.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/nssdb/key4.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/truststore.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/truststore.p12 index e1770512cb..ddbd8ee57b 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner1/truststore.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner1/truststore.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.jks b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.jks index 4a0fdc3460..2abd88e9d8 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.jks and b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.jks differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.p12 index 1d16c7b019..aeec006f0e 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/miner2.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/cert9.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/cert9.db index df9dd3f927..21d6ea1841 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/cert9.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/cert9.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/key4.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/key4.db index a5a86da617..3d77b19abb 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/key4.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/nssdb/key4.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/truststore.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/truststore.p12 index 4b549e7b15..8d9754074b 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner2/truststore.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner2/truststore.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.jks b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.jks index 8c4301b3fe..79ee2cb0ec 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.jks and b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.jks differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.p12 index 29a2e50e68..c7e42d1af6 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/miner3.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/cert9.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/cert9.db index 71fbd033eb..5b295bcda9 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/cert9.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/cert9.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/key4.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/key4.db index 4a1fb4b4a3..d05913b651 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/key4.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/nssdb/key4.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/truststore.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/truststore.p12 index 235819bcfb..028424cebd 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner3/truststore.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner3/truststore.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.jks b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.jks index 0c3395bb24..6cde7b1a0b 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.jks and b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.jks differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.p12 index 122ec91515..386fe0d4b0 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/miner4.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/cert9.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/cert9.db index 76e1d8e22b..fd5b048d8c 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/cert9.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/cert9.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/key4.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/key4.db index 65917d78bb..127bbd567e 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/key4.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/nssdb/key4.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/truststore.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/truststore.p12 index 7b889bfc89..c6c7b5decf 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner4/truststore.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner4/truststore.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.jks b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.jks index b8e9de7015..a9dc3190a9 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.jks and b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.jks differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.p12 index 433d7ded26..7049be61bd 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/miner5.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/cert9.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/cert9.db index 2c7f6f3a80..f731ba7404 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/cert9.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/cert9.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/key4.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/key4.db index c7b9ed789a..e366aa9e27 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/key4.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/nssdb/key4.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/truststore.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/truststore.p12 index 14152b8831..7d54dfe7f6 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner5/truststore.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner5/truststore.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.jks b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.jks index c1e4079f75..b73d203e88 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.jks and b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.jks differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.p12 index 1ae95b5d55..8df1575b0e 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/miner6.p12 differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/cert9.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/cert9.db index 7966383de0..8bc1ba42f1 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/cert9.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/cert9.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/key4.db b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/key4.db index 88f4e9ed3f..aa078f69b7 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/key4.db and b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/nssdb/key4.db differ diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/truststore.p12 b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/truststore.p12 index 8837ef6703..bb56eecd08 100644 Binary files a/acceptance-tests/tests/src/test/resources/pki-certs/miner6/truststore.p12 and b/acceptance-tests/tests/src/test/resources/pki-certs/miner6/truststore.p12 differ