Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working #4

Closed
deepch opened this issue Mar 28, 2018 · 3 comments
Closed

not working #4

deepch opened this issue Mar 28, 2018 · 3 comments
Assignees
Labels

Comments

@deepch
Copy link

deepch commented Mar 28, 2018

golang/go#21890

acme/autocert: unable to authorize ""; tried ["tls-sni-02" "tls-sni-01"]

disabled ["tls-sni-02" "tls-sni-01"]

@appleboy appleboy self-assigned this Mar 29, 2018
@appleboy appleboy added the bug label Mar 29, 2018
@appleboy
Copy link
Member

I will take it.

@deepch
Copy link
Author

deepch commented Mar 29, 2018

I was able to do with a redirect
but this is a bad option because http stops working only https

https://stackoverflow.com/questions/37321760/how-to-set-up-lets-encrypt-for-a-go-server-application

it worked bonus of this fix we now have http-->https redirect.

no need it bonus ))

gin sample

https://github.com/drone/drone/blob/d78cadbbadf5c13fa3039f4847777d92eacc80c6/cmd/drone-server/server.go

The main problem is that you need a redirect with http on https

thx you

@appleboy
Copy link
Member

@deepch I fix the bugs. Please update the autotls package. See #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants