{"action":"closed","issue":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/116","labels_url":"https://api.github.com/repos/jayway/rest-assured/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/jayway/rest-assured/issues/116/comments","events_url":"https://api.github.com/repos/jayway/rest-assured/issues/116/events","html_url":"https://github.com/jayway/rest-assured/issues/116","id":96082082,"number":116,"title":"Add SNI support","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/rest-assured/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/Duplicate","name":"Duplicate","color":"fef2c0"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T14:53:08Z","updated_at":"2015-07-20T17:34:50Z","closed_at":"2015-07-20T17:34:50Z","body":"```\nGiven test should pass\n\n        RestAssured.baseURI = \"https://sni.velox.ch\"; // sample server with SNI configured\n        given().expect().statusCode(200).with().get(\"/\");\n\nbut it throws an exception instead:\n\njavax.net.ssl.SSLException: hostname in certificate didn't match: \n<sni.velox.ch> != <alice.sni.velox.ch> OR <alice.sni.velox.ch> OR \n<carol.sni.velox.ch>\n\nTest with relaxed HTTP validation passes:\n\ngiven().relaxedHTTPSValidation().expect().statusCode(200).with().get(\"/\");\n\nI run the test on Java 1.7 using TestNG and Maven.\n```\n\nOriginal issue reported on code.google.com by `marcin.j...@supermemo.com` on 19 Mar 2015 at 1:04"}}