given().auth().certificate("file:///my/project/src/test/resources/soapui.p12", "password", "pkcs12", 8443, keystoreProvider)
Another example is to follow the guide here.
Regards,
/Johan
--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
OK, thank you, so there is no way to access the httpClient rest-assured is using to configure it with another HostnameVerifier, right?
RequestSpecification spec = new RequestSpecBuilder()
.setRelaxedHTTPSValidation()
.setBaseUri(BASE_URL)
.setBasePath(BASE_PATH)
.setContentType(ContentType.URLENC.toString())
.setAccept(ContentType.ANY)
.addFormParam("client_id","base")
.addFormParam("username","user1")
.addFormParam("password","123")
.addFormParam("grant_type","password")
.log(LogDetail.ALL)
.build();
setRelaxedHTTPSValidation() helps