Error executing action `create` on resource 'acme_certificate[staging]'

hello,
on my site https://gitlab.fresnel.fr running gitlab-ce 12.5.4 on debian 10, i’m unable to renew Let’s Encrypt certificate, getting errors:

root@gitlab:~# gitlab-ctl reconfigure
Starting Chef Client, version 14.13.11

Recipe: letsencrypt::http_authorization

  • letsencrypt_certificate[gitlab.fresnel.fr] action create
    • acme_certificate[staging] action create

      ================================================================================
      Error executing action create on resource ‘acme_certificate[staging]’

      Acme::Client::Error::Malformed

      Method not allowed

I’ve upgrade all gitlab related packages, doing " gitlab-ctl renew-le-certs", reboot the machine without success.
My gitlab.rb configuration is:

external_url ‘https://gitlab.fresnel.fr
nginx[‘redirect_http_to_https’] = true
nginx[‘redirect_http_to_https_port’] = 80
letsencrypt[‘enable’] = true
nginx[‘custom_gitlab_server_config’] = “location /.well-known/acme-challenge/ {\n root /var/opt/gitlab/nginx/www/; \n}\n”

Thanks in advance for help,

Gerard

Exactly the same issue here… :frowning:
You have a “temporary workaround” here: https://gitlab.com/gitlab-org/gitlab/issues/38255

Very thanks for your help, it works well!

I faced a similar problem. Detailed steps mentioned here: Error executing action `create` on resource 'acme_certificate[staging]'