How to check if a server SSL certificate is trusted by Java command line Windows or Linux