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

ACMEv1 deprecation response from letsencrypt #243

Closed
2 of 6 tasks
prg318 opened this issue Nov 28, 2019 · 1 comment · Fixed by #244
Closed
2 of 6 tasks

ACMEv1 deprecation response from letsencrypt #243

prg318 opened this issue Nov 28, 2019 · 1 comment · Fixed by #244
Labels
a:bug Something isn't working
Milestone

Comments

@prg318
Copy link

prg318 commented Nov 28, 2019

Have you read the documentation?

  • Yes, but it does not include related information regarding my question.
  • Yes, but the steps described in the documentation do not work on my machine.
  • Yes, but I am having difficulty understanding it and wants clarification.

You are setting up gotify in

  • Docker
  • Linux native platform
  • Windows native platform

Describe your problem
I'm having difficulties setting up gotify-server to use letsecnrypt to request a certificate. I receive the following error message when I start gotify with letsencrypt enabled:

Nov 27 19:42:30 fibre gotify-server[263471]: http: TLS handshake error from 98.110.116.172:53936: 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.

....
my config is ...

# Example configuration file for the server.
# Save it to `config.yml` when edited

server:
  listenaddr: "" # the address to bind on, leave empty to bind on all addresses
  port: 6680 # the port the HTTP server will listen on

  ssl:
    enabled: true # if https should be enabled
    redirecttohttps: true # redirect to https if site is accessed by http
    listenaddr: "" # the address to bind on, leave empty to bind on all addresses
    port: 6443 # the https port
    certfile: /etc/gotify/cert.pem # the cert file (leave empty when using letsencrypt)
    certkey: /etc/gotify/privkey.pem # the cert key (leave empty when using letsencrypt)
    #certfile: /etc/letsencrypt/live/cert.pem # the cert file (leave empty when using letsencrypt)
    #certkey: /etc/letsencrypt/live/privkey.pem # the cert key (leave empty when using letsencrypt)
    letsencrypt:
      enabled: true # if the certificate should be requested from letsencrypt
      accepttos: true # if you accept the tos from letsencrypt
      cache: /var/lib/gotify/certs # the directory of the cache from letsencrypt
      hosts: # the hosts for which letsencrypt should request certificates
       - notify.mydomain.com
#      - mydomain.tld
#      - myotherdomain.tld

  responseheaders: # response headers are added to every response (default: none)
#    Access-Control-Allow-Origin: "*"
#    Access-Control-Allow-Methods: "GET,POST"

  stream:
    allowedorigins: # allowed origins for websocket connections (same origin is always allowed)
#      - ".+.example.com"
#      - "otherdomain.com"

database: # for database see (configure database section)
  dialect: sqlite3
  connection: /var/lib/gotify/gotify.db

defaultuser: # on database creation, gotify creates an admin user
  name: redacted # the username of the default user
  pass:redacted # the password of the default user
passstrength: 10 # the bcrypt password strength (higher = better but also slower)
uploadedimagesdir: /var/lib/gotify/images # the directory for storing uploaded images
pluginsdir: /var/lib/gotify/plugins # the directory where plugin resides

Thank you! Wasn't sure if I was missing something or if this serves as an updated acme feature request

@prg318 prg318 added the question Further information is requested label Nov 28, 2019
@jmattheis jmattheis added a:bug Something isn't working and removed question Further information is requested labels Nov 28, 2019
@jmattheis jmattheis added this to the version+1 milestone Nov 28, 2019
@jmattheis
Copy link
Member

Good catch, I'll update our library for the lets encrypt certificates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants