Skip to content

Commit

Permalink
chore(util) increase fixture SSL certs validity
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Aug 9, 2018
1 parent efec803 commit a6f2850
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util/ssl_fixtures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ pushd spec/fixtures/ssl
# generate keystore
keytool -genkey \
-keyalg RSA \
-validity 365 \
-validity 3650 \
-alias cassandra \
-storepass $PASS \
-keypass $PASS \
-dname 'CN=Thibault Charbonnier, O=Mashape, L=San Francisco, ST=CA, C=US' \
-dname 'CN=Thibault Charbonnier, O=Kong Inc, L=San Francisco, ST=CA, C=US' \
-keystore keystore.jks

# export cert
Expand All @@ -37,10 +37,10 @@ pushd spec/fixtures/ssl
keytool -genkeypair \
-keyalg RSA \
-alias client \
-validity 365 \
-validity 3650 \
-storepass $PASS \
-keypass $PASS \
-dname 'CN=Thibault Charbonnier, O=Mashape, L=San Francisco, ST=CA, C=US' \
-dname 'CN=Thibault Charbonnier, O=Kong Inc, L=San Francisco, ST=CA, C=US' \
-keystore truststore.jks

# export the private and public parts
Expand Down

0 comments on commit a6f2850

Please sign in to comment.