gin-gonic / autotls

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

https handshake failed. #5

Closed MrSong0607 closed 6 years ago

MrSong0607 commented 6 years ago

i run my server like buttom image

i got this error like title in my browser console log is image

appleboy commented 6 years ago

I will take it.

appleboy commented 6 years ago

Please try the autocert.Manager solution. See:

https://github.com/gin-gonic/autotls/blob/be87bd5ef97b7398e468c35ad266aabf099a095b/example/example2.go#L19-L25