rest-assured/src/main/java/io/restassured/RestAssured.java
public static void keyStore(File pathToJks, String password) {
        Validate.notNull(pathToJks, "Path to JKS on the file system cannot be null");
        applyKeyStore(pathToJks, password);
    }
public static void keyStore(File pathToJks, String password) {
        Validate.notNull(pathToJks, "Path to JKS on the file system cannot be null");
        applyKeyStore(pathToJks, password);
    }
public static void keyStore ( File pathToJks , String password ) { Validate . notNull ( pathToJks , "Path to JKS on the file system cannot be null" ) ; applyKeyStore ( pathToJks , password ) ; }
Use a keystore located on the file-system. See {@link #keyStore(String, String)} for more details.
* <p>
Note that this is just a shortcut for:
</p>
<pre>
RestAssured.config = RestAssured.config().sslConfig(sslConfig().keyStore(pathToJks, password));
</pre>

@param pathToJks The path to JKS file on the file-system
@param password  The password for the keystore
@see #keyStore(String, String)
Use a keystore located on the file - system . See { @link #keyStore ( String String ) } for more details . * <p > Note that this is just a shortcut for : < / p > <pre > RestAssured . config = RestAssured . config () . sslConfig ( sslConfig () . keyStore ( pathToJks password )) ; < / pre >