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