This question already has an answer here:
ssl - How to make HTTPS post request in Java?
Java is not able to verify the validity of the SSL certificate on the https server. It is either self-signed or signed by a certificate authority not known to the Java runtime.
Your options are to manually trust the certificate by adding it to the truststore (cacerts), or to have your certificate signed. I don't recommend disabling the SSL certificate validation completely, as you might open yourself to unexpected consequences.