From 0f91ebfb3f24e704826d172521615ebe74ee86dc Mon Sep 17 00:00:00 2001 From: Ouerghi Yassine Date: Thu, 10 Aug 2017 02:15:13 +0100 Subject: [PATCH] Update change-ip.sh --- modules/scripts/change-ip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/scripts/change-ip.sh b/modules/scripts/change-ip.sh index 442b59d9..d1b51540 100644 --- a/modules/scripts/change-ip.sh +++ b/modules/scripts/change-ip.sh @@ -531,7 +531,7 @@ sed -i -e 's/#PrivateKeyAlias=.*/PrivateKeyAlias=wso2carbon/' ../wso2/analytics/ sed -i -e 's/#PrivateKeyPassword=.*/PrivateKeyPassword=wso2carbon/' ../wso2/analytics/conf/etc/jwt.properties sed -i -e 's/default-jwt-client=.*/default-jwt-client=false/' ../wso2/analytics/conf/etc/jwt.properties -ehco "" +echo "" echo "Setting up the public certificate for the default idp" if hash tac; then VAR=$(keytool -exportcert -alias wso2carbon -keystore ../repository/resources/security/wso2carbonjwt.jks -rfc -storepass wso2carbon | tail -n +2 | tac | tail -n +2 | tac | tr -cd "[:print:]");