We have found an incompatibility causing our app to cease to function.
We haven’t discovered this issue before, because it does or does not appear depending on the jar names, which were slightly different in our beta test environment. We assume that the jar names change the order in which the jars are loaded.
The issue causes the email protocol providers from our app not to be used although they are loaded. It may be an issue that is caused the Eclipse Angus mail library used in Confluence 10.
We’ve filed a ticket under ECOHELP-79631, but also wanted to make @Kusal and other partners aware of it.
The funny thing is, if we rename the org.eclipse.angus_angus-mail-2.0.4.jar to com.sun.mail…., it works again (but that does not feel like a reliable solution).
We’ve been able to track down the issue to a bug in the jakarta.mail-api library. The bug has already been fixed, and we are now awaiting the fix release, so Atlassian will hopefully include it in their next Confluence 10 release.
Not sure what exactly is missing. Your approach is different from ours a few ways. Here’s what we do, perhaps it helps:
We have this script setup-app-signing.sh
#!/bin/bash
# Set up the Atlassian trust store for app signing
if [ "$#" -ne 1 ]; then
SCRIPT=`basename "$0"`
echo "Usage: $SCRIPT 'path/to/certs/*'"
exit 1
fi
CERTFILES=$1
# Create necessary directories if they do not exist
mkdir -p upmconfig/truststore
# Create config file
cat >upmconfig/upm.properties <<EOD
atlassian.upm.signature.check.disabled=true
atlassian.upm.signature.check.upload.disabled=true
atlassian.upm.signature.check.marketplace.disabled=true
EOD
# Copy the certs
for CERTFILE in $CERTFILES; do
cp $CERTFILE upmconfig/truststore/
done
Provided the Atlassian zip file has been extracted to certs/atlassian (not part of the script, but could become), then we
Hi Metin, thank you for your script! I’ve done the same. With atlassian.upm.signature.check.disabled=true, you are disabling app signing. And given how difficult it is to make it work, I assume most customers will do that.