Closed GoogleCodeExporter closed 9 years ago
There's a test in SSLITest that looks like this:
@Test public void
allows_specifying_trust_store_in_dsl() throws Exception {
InputStream keyStoreStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("truststore_cloudamqp.jks");
KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
keyStore.load(keyStoreStream, "cloud1234".toCharArray());
given().trustStore(keyStore).then().get("https://bunny.cloudamqp.com/api/").then().statusCode(200);
}
And it works. So I'm not sure what is wrong on your part. You can use the
SslConfig to configure additional details if required.
Original comment by johan.ha...@gmail.com
on 29 Aug 2014 at 11:32
Closing because no response
Original comment by johan.ha...@gmail.com
on 23 Sep 2014 at 9:07
Original comment by johan.ha...@gmail.com
on 23 Sep 2014 at 9:08
Original issue reported on code.google.com by
mgawine...@gmail.com
on 19 Aug 2014 at 6:15