Currently the JAVA_OPTS parameter only apply to the Nuxeo process that is launched by the launcher. However as the Launcher does some checks on the underlying DB like MongoDB, it is sometimes necessary to configure the java truststore to be able to connect on a MongoDB server configured in SSL with certificates.
As the JAVA_OPTS of the nuxeo process is not adapted for the launcher, we should add a LAUNCHER_JAVA_OPTS to be able to configure that at the launcher level. In nuxeoctl we would have:
Current workaround are:
- use the LAUNCHER_DEBUG instead (but it activate more logging in the nuxeoctl script)
- Modify directly the default $JAVA_HOME/jre/lib/security/cacerts file (not possible in Docker environment as we are not root)
- deactivate the mongodb check at startup