Page MenuHomeDevCentral

D2445.id6153.diff
No OneTemporary

D2445.id6153.diff

diff --git a/roles/paas-docker/wrappers/files/openfire.sh b/roles/paas-docker/wrappers/files/openfire.sh
--- a/roles/paas-docker/wrappers/files/openfire.sh
+++ b/roles/paas-docker/wrappers/files/openfire.sh
@@ -56,6 +56,7 @@
mkdir -p "$TARGET"
openssl pkcs12 -export -out "$TARGET/cert-to-import.p12" -in "$SOURCE/fullchain.pem" -inkey "$SOURCE/privkey.pem" -name "$DOMAIN" -password "pass:$PASS"
+ docker exec "$INSTANCE" keytool -delete -keystore /var/lib/openfire/conf/security/keystore -storepass "$PASS" -alias "$DOMAIN"
docker exec "$INSTANCE" keytool -importkeystore -deststorepass "$PASS" -srcstorepass "$PASS" -destkeystore /var/lib/openfire/conf/security/keystore -srckeystore "/var/lib/$INSTANCE/conf/security/tmp/cert-to-import.p12" -srcstoretype PKCS12 -deststoretype pkcs12
rm -R "$TARGET"
}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 06:19 (32 m, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306180
Default Alt Text
D2445.id6153.diff (833 B)

Event Timeline