Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3917879
D2445.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
833 B
Referenced Files
None
Subscribers
None
D2445.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 05:09 (1 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306180
Default Alt Text
D2445.diff (833 B)
Attached To
Mode
D2445: Overwrite Openfire certificate
Attached
Detach File
Event Timeline
Log In to Comment