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

[BUG] Broken AutoTLS ? #1406

Closed
stefanwuthrich opened this issue Dec 12, 2019 · 4 comments
Closed

[BUG] Broken AutoTLS ? #1406

stefanwuthrich opened this issue Dec 12, 2019 · 4 comments

Comments

@stefanwuthrich
Copy link

Describe the bug
When I try to use AutoTLS I get:

[HTTP Server] http: TLS handshake error from 127.0.0.1:35816: 403 urn:acme:error:unauthorized: Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.

To Reproduce
Steps to reproduce the behavior:
app.Run(iris.AutoTLS(":443", "example.com", "[email protected]"))

@kataras
Copy link
Owner

kataras commented Dec 12, 2019

Hello @stefanwuthrich, they change something(letsencrypt) because it was working a time ago. Will take look at this later on. In the meantime, as you probably already know , you can use caddy in front of Iris which gives you more control on production usage with multiple Iris web applications and endpoints.

Thanks for the bug report, if you can find the origin of the issue it would be very helpful for me as I am preparing for the v12.1.0 release.

@kataras kataras added this to the v12.1.0 milestone Dec 12, 2019
@kataras
Copy link
Owner

kataras commented Dec 12, 2019

OK @stefanwuthrich the issue is fixed when you update the golang.org/x/crypto package , which implements the RFC 8555 by-default. The iris v12.1.0 will contain an updated go.mod file which will include this package latest version too;

golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413

@stefanwuthrich
Copy link
Author

tks @kataras

@kataras
Copy link
Owner

kataras commented Dec 13, 2019

Version 12.1.0 released (which contains the updated crypto pkg version), read more at: https://github.com/kataras/iris/blob/master/HISTORY.md#fr-13-december-2019--v1210. Happy weekend!

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

No branches or pull requests

2 participants