gin-gonic / autotls

Support Let's Encrypt for a Go server application.
MIT License
379 stars 40 forks source link

Missing server name for localhost #8

Closed fritzhealy closed 6 years ago

fritzhealy commented 6 years ago

Hi I am trying to whitelist my localhost for development. I am running into this error.

http: TLS handshake error from 127.0.0.1:2072: acme/autocert: missing server name

Here is my run command

log.Fatal(autotls.Run(router, "192.168.99.100","127.0.0.1"))

fritzhealy commented 6 years ago

I realize that autocert cannot issue certs for ip's now. My appologies