rest-assured/src/main/java/io/restassured/RestAssured.java
public static void trustStore(KeyStore truststore) {
        Validate.notNull(truststore, "Truststore cannot be null");
        config = config().sslConfig(SSLConfig.sslConfig().trustStore(truststore));
    }
public static void trustStore(KeyStore truststore) {
        Validate.notNull(truststore, "Truststore cannot be null");
        config = config().sslConfig(SSLConfig.sslConfig().trustStore(truststore));
    }
public static void trustStore ( KeyStore truststore ) { Validate . notNull ( truststore , "Truststore cannot be null" ) ; config = config ( ) . sslConfig ( SSLConfig . sslConfig ( ) . trustStore ( truststore ) ) ; }
Specify a trust store that'll be used for HTTPS requests. A trust store is a {@link java.security.KeyStore} that has been loaded with the password.
If you wish that REST Assured loads the KeyStore store and applies the password (thus making it a trust store) please see some of the
<code>keystore</code> methods such as {@link #keyStore(java.io.File, String)}.

@param truststore A pre-loaded {@link java.security.KeyStore}.
@see #keyStore(String, String)
Specify a trust store that ll be used for HTTPS requests . A trust store is a { @link java . security . KeyStore } that has been loaded with the password . If you wish that REST Assured loads the KeyStore store and applies the password ( thus making it a trust store ) please see some of the <code > keystore< / code > methods such as { @link #keyStore ( java . io . File String ) } .