Alon Bar-Lev has uploaded a new change for review.

Change subject: pki: delete cacert alias from keystore before import
......................................................................

pki: delete cacert alias from keystore before import

Java keystore will not overwrite certificate, leaving the previous one.

Change-Id: Ib0ea2404ff43c106f40ddc89cf13cb2b8d7caeab
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M backend/manager/conf/ca/installCA.sh
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/19/13419/1

diff --git a/backend/manager/conf/ca/installCA.sh 
b/backend/manager/conf/ca/installCA.sh
index 2af9f34..a5b0aa7 100755
--- a/backend/manager/conf/ca/installCA.sh
+++ b/backend/manager/conf/ca/installCA.sh
@@ -71,6 +71,7 @@
 echo " "
 echo "> Importing CA certificate..."
 # Generate truststore
+keytool -delete -noprompt -alias cacert -keystore ./.truststore -storepass 
$PASS > /dev/null 2>&1
 keytool -import -noprompt -trustcacerts -alias cacert -keypass $PASS -file 
certs/ca.der -keystore ./.truststore -storepass $PASS
 
 echo " "


--
To view, visit http://gerrit.ovirt.org/13419
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0ea2404ff43c106f40ddc89cf13cb2b8d7caeab
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to