If I remember right, since 2017, the .DEV is intended to be a secure namespace, so all potential .DEV domain owners must secure their website with an SSL certificate. Even you create the virtual host on your own localhost or server. The modern browsers will automatic add https for your dev domain. More information can be found here.
I write the post to remind myself or others who create the dev domain name and find out the https is added to your dev domain. For my developing environment, I use the WAMP server because it is easy to add the virtual host. When you add new virtual host from the WAMP server, you may need to check your antivirus application that blocks the WAMP to edit the hosts file from changes. Otherwise, the hosts file which is located in “C:\Windows\System32\drivers\etc” won’t be changed. I use the Avira Antivirus. I will go to Settings>General>Security>System protection and uncheck it. Then I will add the virtual host in the WAMP. After the new virtual host is added, I will restart the Apache and check the system protection back. And that’s it.