>> ls -l /etc/ssl/certs/java/cacerts > -rw-r--r-- 1 root root 11940 ott 20 18:56 /etc/ssl/certs/java/cacerts Yours is very small, mine is 413593 bytes. Try updating the cacerts file by running: sudo update-ca-certificates --verbose Then check the cacerts file again with: ls -l /etc/ssl/certs/java/cacerts