@Test
	public void testSunnyDay() throws Exception {

		AbstractConfiguration cm = ConfigurationManager.getConfigInstance();

		String name = "GetPostSecureTest" + ".testSunnyDay";

		String configPrefix = name + "." + "ribbon";

		cm.setProperty(configPrefix + "." + CommonClientConfigKey.IsSecure, "true");
		cm.setProperty(configPrefix + "." + CommonClientConfigKey.SecurePort, Integer.toString(testServer1.getPort()));
		cm.setProperty(configPrefix + "." + CommonClientConfigKey.IsHostnameValidationRequired, "false");
		cm.setProperty(configPrefix + "." + CommonClientConfigKey.IsClientAuthRequired, "true");
		cm.setProperty(configPrefix + "." + CommonClientConfigKey.KeyStore, FILE_KS1.getAbsolutePath());
		cm.setProperty(configPrefix + "." + CommonClientConfigKey.KeyStorePassword, PASSWORD);
		cm.setProperty(configPrefix + "." + CommonClientConfigKey.TrustStore, FILE_TS1.getAbsolutePath());
		cm.setProperty(configPrefix + "." + CommonClientConfigKey.TrustStorePassword, PASSWORD);

		RestClient rc = (RestClient) ClientFactory.getNamedClient(name);

		testServer1.accept();

		URI getUri = new URI(SERVICE_URI1 + "test/");
        HttpRequest request = HttpRequest.newBuilder().uri(getUri).queryParams("name", "test").build();
		HttpResponse response = rc.execute(request);
		assertEquals(200, response.getStatus());
	}
Test TLS configurations work against a very dumbed down test server.

@author jzarfoss
ribbon-httpclient/src/test/java/com/netflix/niws/client/http/SecureGetTest.java