Failed to install optional dependency

Hi everyone,

I’m trying to install xwiki on a debian10 virtualmachine.
I followed the instructions found on with the following package : xwiki-tomcat9-mariadb

After the installation, i try to install the standard flavor and I face the following errors :

xwiki error

Do you have any idea how to fix this?

Thanks in advance.

Maybe check SSL peer shut down incorrectly in Java - Stack Overflow

Some ideas:

  • Use,handshake to find out more or run nmap --script ssl-enum-ciphers -p 443 {HOSTNAME} to find out the versions of the security protocol is accepted by the host
  • Then use -Dhttps.protocols=... with the right protocol.
1 Like

which version of java are you using?

make sure you follow Installation (

hi @vmassol , thanks for your answers.

I’m running the openjdk version “11.0.11”

By adding this line to /etc/default/tomcat9

it seems to work