kiwiirc/webircgateway

TLS server problem for SSL

Rapman4 opened this issue · 1 comments

I have a problem with the server tls here is my configuration:

# Example TLS server
[server.2]
bind = "chat.tchatirc.fr"
port = 9001
tls = true
cert = server.crt
key = server.key
letsencrypt_cache = ./certs

but when I restart the server I have the following error:

2020/01/28 10:00:11.686738 L_INFO Serving files from /home/kiwiirc/kiwiirc_linux_amd64/www
2020/01/28 10:00:11.689361 L_INFO Listening on 178.170*.*:9000
2020/01/28 10:00:11.689503 L_INFO Listening with letsencrypt TLS on chat.tchatirc.fr:9001
2020/01/28 10:00:19.986293 L_INFO Automatically requesting a HTTPS certificate for chat.tchatirc.fr
2020/01/28 10:00:21.474073 http: TLS handshake error from 82.252.*.*:182: 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.
2020/01/28 10:00:21.474254 http: TLS handshake error from 82.252.*.*:181: acme/autocert: missing certificate

how can i fix this please

This error should be fixed by this pull request once it's merged: Update golang.org/x/crypto to fix letsencrypt autocert.