Skip to content

Commit

Permalink
JNI/JCE: update example certs, JKS, and WKS files
Browse files Browse the repository at this point in the history
  • Loading branch information
cconlon committed Jun 20, 2024
1 parent 91a0206 commit f4be739
Show file tree
Hide file tree
Showing 27 changed files with 5 additions and 4 deletions.
Binary file modified examples/certs/ca-client.jks
Binary file not shown.
Binary file modified examples/certs/ca-client.wks
Binary file not shown.
Binary file modified examples/certs/ca-server-ecc-256.jks
Binary file not shown.
Binary file modified examples/certs/ca-server-ecc-256.wks
Binary file not shown.
Binary file modified examples/certs/ca-server-rsa-2048.jks
Binary file not shown.
Binary file modified examples/certs/ca-server-rsa-2048.wks
Binary file not shown.
Binary file modified examples/certs/ca-server.jks
Binary file not shown.
Binary file modified examples/certs/ca-server.wks
Binary file not shown.
Binary file modified examples/certs/cacerts.jks
Binary file not shown.
Binary file modified examples/certs/cacerts.wks
Binary file not shown.
Binary file modified examples/certs/client-ecc.jks
Binary file not shown.
Binary file modified examples/certs/client-ecc.wks
Binary file not shown.
Binary file modified examples/certs/client-rsa-1024.jks
Binary file not shown.
Binary file modified examples/certs/client-rsa-1024.wks
Binary file not shown.
Binary file modified examples/certs/client-rsa.jks
Binary file not shown.
Binary file modified examples/certs/client-rsa.wks
Binary file not shown.
Binary file modified examples/certs/client.jks
Binary file not shown.
Binary file modified examples/certs/client.wks
Binary file not shown.
Binary file modified examples/certs/server-ecc.jks
Binary file not shown.
Binary file modified examples/certs/server-ecc.wks
Binary file not shown.
Binary file modified examples/certs/server-rsa-1024.jks
Binary file not shown.
Binary file modified examples/certs/server-rsa-1024.wks
Binary file not shown.
Binary file modified examples/certs/server-rsa.jks
Binary file not shown.
Binary file modified examples/certs/server-rsa.wks
Binary file not shown.
Binary file modified examples/certs/server.jks
Binary file not shown.
Binary file modified examples/certs/server.wks
Binary file not shown.
9 changes: 5 additions & 4 deletions examples/certs/update-jks-wks.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

# Example KeyStore Update Script
#
# This script is Used to update all example JKS stores, using example
# This script is Used to update all example JKS and WKS stores, using example
# certificates found in wolfSSL proper.
#
# Java KeyStores which this script creates includes:
# Java KeyStores which this script creates includes the following. WKS
# versions will also be generated of each of these:
#
# client.jks RSA 2048-bit and ECC client certs:
# client-cert.pem, client-ecc-cert.pem
Expand Down Expand Up @@ -37,10 +38,10 @@
# be preferred, but older versions of keytool do not support PKCS#12
# format. This would cause test failures in those older environments.

printf "Removing and updating JKS stores\n"
printf "Removing and updating example JKS and WKS KeyStore files\n"
if [ -z "$1" ]; then
printf "\tNo directory to certs provided\n"
printf "\tExample use ./update-jks.sh ~/wolfssl/certs\n"
printf "\tExample use ./update-jks-wks.sh ~/wolfssl/certs\n"
exit 1;
fi
CERT_LOCATION=$1
Expand Down

0 comments on commit f4be739

Please sign in to comment.