public void setTLSEnableInfo(String trustStorePath, String trustStorePassword) {
        // public void setTLSEnableInfo(String trustStorePath, String trustStorePassword,
        // boolean tlsTwoWayAuthEnable,String keyStorePath, String keyStorePassword) throws Exception {
        if (TStringUtils.isBlank(trustStorePath)) {
            throw new IllegalArgumentException("Illegal parameter: trustStorePath is Blank!");
        }
        if (TStringUtils.isBlank(trustStorePassword)) {
            throw new IllegalArgumentException("Illegal parameter: trustStorePassword is Blank!");
        }
        this.tlsConfig.setTlsEnable(true);
        this.tlsConfig.setTlsTrustStorePath(trustStorePath);
        this.tlsConfig.setTlsTrustStorePassword(trustStorePassword);
        this.tlsConfig.setTlsTwoWayAuthEnable(false);
        /*
         * if (tlsTwoWayAuthEnable) { if (TStringUtils.isBlank(keyStorePath)) { throw new
         * Exception("Illegal parameter: keyStorePath is Blank!"); } if (TStringUtils.isBlank(keyStorePassword)) { throw
         * new Exception("Illegal parameter: keyStorePassword is Blank!"); }
         * this.tlsConfig.setTlsTwoWayAuthEnable(tlsTwoWayAuthEnable); this.tlsConfig.setTlsKeyStorePath(keyStorePath);
         * this.tlsConfig.setTlsKeyStorePassword(keyStorePassword); }
         */
    }
Set TLS information

@param trustStorePath        the trusted store path
@param trustStorePassword    the trusted store password
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/config/TubeClientConfig.java