use another way to set the trusted hosts