Forcing Spark to check server''s certificate against trusted root certificat

How can I force Spark to check if server’'s certificate is signed by our organization Certification Authority and warn user if it is not trusted (if there is no trusted root certification authority certificate on user PC). Currently Spark does not give any warning about untrusted server as long as server has not self-signed certificate.

Any ideas ?