title: RestAssured calling https get api giving Error
body: <p>I have a https api 
  I have inserted the certs in cacerts in my jdk 1.8
  when I hit </p>
  
  <pre><code>Response response1 = RestAssured.given().log().all().get("someurl").then().log().ifError().extract().response();
  </code></pre>
  
  <p>Gives</p>
  
  <blockquote>
    <p>javax.net.ssl.SSLException: Certificate for  doesn't match any of the subject alternative names: [Some other domain name]
    Then i hit with relaxedHttpValidation and allowing all hostName</p>
  </blockquote>
  
  <pre><code>Response response = given().config(RestAssured.config().sslConfig(sslConfig().allowAllHostnames().relaxedHTTPSValidation())).log().all().get("someURL").then().log().ifError().extract().response();
  </code></pre>
  
  <p>It gives 503 service not available 
  Am i missing something</p>