I solved it. After the upgrade the file /opt/zimbra/jetty/etc/keystore was missing. Moving from one error to the other the problem got worse and worse. Finally I followed this instructions.
Recreating a Self-Signed SSL Certificate - Zimbra :: Wiki
This solved my problem.