Updated the HOSTNAME environment variable and modified the command to include cert and trusted domains.