Letsencrypt: Renewal fails

Hello,

unfortunately letsencrypt app (version 1.2.2-8) fails to renew the certificate. Error is 405 “Method not allowed”.

Sais here: https://community.letsencrypt.org/t/error-405-from-letsencrypt/124002
that this error is due to an outdated client (which probably means the ucs app is outdated).

/var/log/univention/letsencrypt.log sais:

Di 29. Sep 08:25:56 CEST 2020
Refreshing certificate for following domains:
www.xxx.de xxx.de
Parsing account key...
Parsing CSR...
Found domains: xxx.de, www.xxx.de
Getting directory...
Directory found!
Registering account...
Already registered!
Creating new order...
Order created!
Traceback (most recent call last):
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 197, in <module>
    main(sys.argv[1:])
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 193, in main
    signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 125, in get_crt
    authorization, _, _ = _do_request(auth_url, err_msg="Error getting challenges")
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 45, in _do_request
    raise ValueError("{0}:\nUrl: {1}\nData: {2}\nResponse Code: {3}\nResponse: {4}".format(err_msg, url, data, code, resp_data))
ValueError: Error getting challenges:
Url: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/121740584
Data: None
Response Code: 405
Response: {
  "type": "urn:ietf:params:acme:error:malformed",
  "detail": "Method not allowed",
  "status": 405
}
Setting letsencrypt/status
Module: kopano-cfg

Please help!
Kind regards
R. Köhler

Problem solved itself… Update of letsencrypt went through without problems a few hours later.

I have the same problem. I installed letsencrypt a couple of days ago, and I only get something like this:

Getting directory...
Directory found!
Registering account...
Already registered!
Creating new order...
Order created!
Traceback (most recent call last):
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 197, in <module>
    main(sys.argv[1:])
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 193, in main
    signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 125, in get_crt
    authorization, _, _ = _do_request(auth_url, err_msg="Error getting challenges")
  File "/usr/share/univention-letsencrypt/acme_tiny.py", line 45, in _do_request
    raise ValueError("{0}:\nUrl: {1}\nData: {2}\nResponse Code: {3}\nResponse: {4}".format(err_msg, url, data, code, resp_data))
ValueError: Error getting challenges:
Url: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/123848302
Data: None
Response Code: 405
Response: {
  "type": "urn:ietf:params:acme:error:malformed",
  "detail": "Method not allowed",
  "status": 405
}
Setting letsencrypt/status

Any ideas ?

Sorry, no ideas as I didn’t do anything but wait. I think I restarted the server, my next idea would have been to reinstall the letsencrypt apt, but I didn’t do that as letsencrypt started working after some hours.

Mastodon