Windows agent pop up window showing warning (https)

Windows agent pop up window showing warning (https)

I use HTTPS with a public subdomain attached and all working correctly. I moved on to testing the Windows agent and I am presented with the following.

The access URL setting only allows me to enter the server name, but SSL will only work with FQDN.

How to fix this?