Take a look at the answers on this question:
https://forum.mendix.com/link/questions/87327
You will probably also encounter an issue with cloud permissions, since bouncycastle changed this one
("java.util.PropertyPermission" "org.bouncycastle.pkcs1.strict" "read")
to this one
("java.util.PropertyPermission" "org.bouncycastle.pkcs1.not_strict" "read")
which is not part of the default .policy yet.