Ssl_error_rx_record_too_long

hello,

after sudo gitlab-ctl renew-le-certs

I have this error where I active letsencrypt in gitlab.rb

Running handlers:
There was an error running gitlab-ctl reconfigure:

letsencrypt_certificate[gitlab.avct.net] (letsencrypt::http_authorization line 5) had an error: RuntimeError: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 25) had an error: RuntimeError: ruby_block[create certificate for gitlab.avct.net] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb line 108) had an error: RuntimeError: [gitlab.avct.net] Validation failed, unable to request certificate

I have create certificate with https://copdips.com/2018/09/setup-https-for-gitlab.html
and Use nginx’s configuration in gitlab.rb

nginx['enable'] = true
nginx['redirect_http_to_https'] = true
nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.avct.net.crt"
nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.avct.net.key"

but I have Code d’erreur : SSL_ERROR_RX_RECORD_TOO_LONG