If you're using Microsoft Edge as your default browser, you can add trusted sites directly from the browser:
Choose whether to enforce HTTPS connections by checking or clearing the option. windows 11 add trusted sites