Refactoring
This commit is contained in:
8
deploy/certs/add-cert-to-keystore.sh
Normal file
8
deploy/certs/add-cert-to-keystore.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
# #!/bin/sh
|
||||
|
||||
# if [ -z "$SERVICE_NAME" ]; then echo "set SERVICE_NAME var"; exit 1; fi
|
||||
# if [ -z "$TARGET_SERVICE_NAME" ]; then echo "set TARGET_SERVICE_NAME var"; exit 1; fi
|
||||
# PASSWORD=V3ryS3cr3tP4ssw0rd
|
||||
|
||||
# # Add cdert to keystore($TARGET_SERVICE_NAME)
|
||||
# keytool -importcert -v -alias $SERVICE_NAME -storetype PKCS12 -file "$SERVICE_NAME/$SERVICE_NAME.pem" -keystore "$TARGET_SERVICE_NAME/keystore.p12" -keypass $PASSWORD -storepass $PASSWORD
|
||||
Reference in New Issue
Block a user