Self signed certificate only works with localhost, not 127.0.0.1
问题 I'm trying to generate a self-signed certificate such that my local development environment uses HTTPS, but I'm having some trouble. The reason for this is that I want to test push notifications on my phone through my local network (through my local IP 192.168.1.155 ) and notifications only work via a secure context. It only seems to work when I go to localhost:8080 , and is still insecure when navigating to 127.0.0.1:8080 . When I navigate to 127.0.0.1:8080 Chrome's Security Page says: This