I see there is an
issue filed for this. I posted a comment to that issue that contains a sample project for how I made self signed certs (including noop host name verifier) work with raw HttpClient and Jersey. This should hopefully help Johan add this feature. My sense is that the resulting APIs should look something like this.
given
.keystore( <store>, <password> )
.truststore( <store>, <password> )
.hostnameVerifier( SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER )
or alternatively at the "global" level
RestAssured.keystore( <store>, <password> )
RestAssured.truststore( <store>, <password> )
RestAssured.hostnameVerifier( SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER )
I imagine there is also some precedent for a solution involving detailed configuration but I haven't played much with that yet.
BTW I apologize if this post shows up twice. I thought I posted this earlier today but as I never saw it show up I'm assuming I never ended up pressing "Post".