rest-assured/src/main/java/io/restassured/config/SSLConfig.java
public SSLConfig keyStore(File pathToJks, String password) {
        Validate.notNull(pathToJks, "Path to JKS on the file system cannot be null");
        Validate.notEmpty(password, "Password cannot be empty");
        return new SSLConfig(pathToJks, pathToTrustStore, password, trustStorePassword, keyStoreType, trustStoreType, port, keyStore, trustStore, x509HostnameVerifier, sslSocketFactory, true);
    }
public SSLConfig keyStore(File pathToJks, String password) {
        Validate.notNull(pathToJks, "Path to JKS on the file system cannot be null");
        Validate.notEmpty(password, "Password cannot be empty");
        return new SSLConfig(pathToJks, pathToTrustStore, password, trustStorePassword, keyStoreType, trustStoreType, port, keyStore, trustStore, x509HostnameVerifier, sslSocketFactory, true);
    }
public SSLConfig keyStore ( File pathToJks , String password ) { Validate . notNull ( pathToJks , "Path to JKS on the file system cannot be null" ) ; Validate . notEmpty ( password , "Password cannot be empty" ) ; return new SSLConfig ( pathToJks , pathToTrustStore , password , trustStorePassword , keyStoreType , trustStoreType , port , keyStore , trustStore , x509HostnameVerifier , sslSocketFactory , true ) ; }
Use a keystore located on the file-system. See {@link #keyStore(String, String)} for more details.

@param pathToJks The path to JKS file on the file-system
@param password  The password for the keystore
@return The request specification
@see #keyStore(String, String)
Use a keystore located on the file - system . See { @link #keyStore ( String String ) } for more details .