change truststore password variable scope