rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java
public RequestSpecBuilder setKeyStore(String pathToJks, String password) {
        spec.keyStore(pathToJks, password);
        return this;
    }
public RequestSpecBuilder setKeyStore(String pathToJks, String password) {
        spec.keyStore(pathToJks, password);
        return this;
    }
Specify a keystore.
<pre>
RestAssured.keyStore("/truststore_javanet.jks", "test1234");
</pre>
or
<pre>
given().keyStore("/truststore_javanet.jks", "test1234"). ..
</pre>
</p>

@param pathToJks The path to the JKS
@param password  The store pass