Iris: [BUG] Broken AutoTLS ?

Created on 12 Dec 2019  路  4Comments  路  Source: kataras/iris

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]"))

high resolved bug

All 4 comments

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.

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

tks @kataras

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlbinoGeek picture AlbinoGeek  路  4Comments

unreadable picture unreadable  路  3Comments

kiwi2019 picture kiwi2019  路  5Comments

ZetDeveloper picture ZetDeveloper  路  3Comments

yogeshlonkar picture yogeshlonkar  路  4Comments