title: How to connect to an HTTPS URL from a JavaFX application
body: <p>I have a Javafx application that sends GET and POST requests to a secure web service via HTTPS. The SSL setup on the server hosting the webservices is one-way ssl, i.e. the Javafx application validates the server's identity but the server does not validate the thick client's identity. </p>
  
  <p>The application server is behind an F5 that has the certificates(signed by an external authority).</p>
  
  <p>For a browser this would not have been a problem as the browser itself handles validating the server's identity and displays the relevant warning to the user. But for a thick client, I am not sure how to validate the server's identity before sending the request. Please let me know how to handle this in a Javafx application.</p>
  
  <p>I did ask a question relating to this earlier <a href="https://stackoverflow.com/questions/19436110/how-to-access-a-https-url-from-a-java-application">here</a> and <a href="https://stackoverflow.com/questions/19362136/javafx-consume-secure-restful-services">here</a>, but those did not help. So, please pardon my limited knowledge on this topic.</p>
  
  <p>Any help would be appreciated.</p>