Have to ask again. Someone thought it was a duplicate question and already answered and removed it from the list.
I\'m using maven (mvn) batch command with windows (not
I had the same issue and it took me a day to solve it. This a java related issue as you may see in the error stack. Check in:
/etc/ssl/certs/java for the cacerts file.
1) If you don't have this file here that is the reason why your getting this error
2) If you do have this file here it means that this is probably not a valid cacerts file.
If you want you can update it with:
sudo apt-get install --reinstall ca-certificates
And if it works now, then perfect (in my case it did not work)
So to solve this:
Finally run the comand that caused you this error and hopefully its gone! Hope this helped.
Cheers