Lets Encrypt Renew Certificate error

I tried to renew an Lets encrypt certificate, and i got the following error:

In the In the /var/log/vitalpbx/letsencrypt.log file i have this:

[2025-02-04 16:24:29.480129] [debug] GET response received
request: ‘GET https://acme-v02.api.letsencrypt.org/directory
header: 'HTTP/2 200
server: nginx
date: Tue, 04 Feb 2025 19:24:29 GMT
content-type: application/json
content-length: 828
cache-control: public, max-age=0, no-cache
x-frame-options: DENY
strict-transport-security: max-age=604800

'
status: 200
body: array(
    'keyChange' => 'https://acme-v02.api.letsencrypt.org/acme/key-change',
    'meta' => array(
        'caaIdentities' => array(
            0 => 'letsencrypt.org',
        ),
        'profiles' => array(
            'classic' => 'The same profile you're accustomed to',
        ),
        'termsOfService' => 'https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf',
        'website' => 'https://letsencrypt.org',
    ),
    'newAccount' => 'https://acme-v02.api.letsencrypt.org/acme/new-acct',
    'newNonce' => 'https://acme-v02.api.letsencrypt.org/acme/new-nonce',
    'newOrder' => 'https://acme-v02.api.letsencrypt.org/acme/new-order',
    'renewalInfo' => 'https://acme-v02.api.letsencrypt.org/draft-ietf-acme-ari-03/renewalInfo',
    'revokeCert' => 'https://acme-v02.api.letsencrypt.org/acme/revoke-cert',
    'w1295c5WixY' => 'https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417',
)

[2025-02-04 16:24:29.996212] [debug] HEAD response received
request: ‘HEAD https://acme-v02.api.letsencrypt.org/acme/new-nonce
header: 'HTTP/2 200
server: nginx
date: Tue, 04 Feb 2025 19:24:29 GMT
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
replay-nonce: aTttXYyySEOY2HO8LMVKDNVupf7ssmJ-L-MsqlmY9ELUJ9R_umw
x-frame-options: DENY
strict-transport-security: max-age=604800

'
status: 200
body: ''

[2025-02-04 16:24:29.999108] [info] No account found, attempting to create account.
[2025-02-04 16:24:32.577275] [debug] POST response received
request: ‘POST https://acme-v02.api.letsencrypt.org/acme/new-acct
header: 'HTTP/2 201
server: nginx
date: Tue, 04 Feb 2025 19:24:32 GMT
content-type: application/json
content-length: 875
boulder-requester: 2209643605
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
link: https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf;rel=“terms-of-service”
location: https://acme-v02.api.letsencrypt.org/acme/acct/2209643605
replay-nonce: UvlUZ57Po5hOAcTS7PNJNokAvqv56eLcgYqRBASj7xAtupmeejM
x-frame-options: DENY
strict-transport-security: max-age=604800

'
status: 201
body: array(
    'key' => array(
        'kty' => 'RSA',
        'n' => '1-uHo58WFQOtmsMuJ5zEKJ4V3WVZrUfuydgRpOytxXod_X851sbifd9sk5KEmIeNqpqBZNF3Y7SRzQPoFYzcFASR53jfTfEQ-Y8l-O4q06u0uOl9LyXb1Yp8XN_ruwLIlWw6dKbGmon7GZxb7UQD9LoSQZaTlh_ZYO2YjXB_FIgvXsGSLIz39YX_QuNuiL97soVtny-2y40uwHD-kIWa8TnbFIpVQGVyVCvmxUOrG5kzFV_ELB3sCtQi3Pc0DAns4E6tGFLiexryWT1F0TLoGq-7_bYX58XrObpBCRRRlEKZpp-aTNT8D8AcH9BxwoeSWgWONcVfvC9NEld-cEMEWRVPaMJjCfl0rhZzk2GAE3Xy33BKlR5jMWuPIHnH6aqaZZ7huCLF_ZpaUFmh9AE30eKKNin5dUYd65WOk351hD3x0e2U6FkxiuWC5lSKqbWshahhJuvZUZHayMo2Jklrznqqj0zcQZdtB_DVJdO_iBuBkWnUGBIQQozVqroH4UwqvwgA-lAN3NmABLooyMQqZLOTPASvUZgAj5je_YLLWbnwhYkQpwn4wWvwGOkVYDalQ6e9ebVeVO-62ujFjBmtBZzIzgh7vwVqxUg78H6UdH8eW-ELV0WNESyhf-h0wMlhJM-HeLRWnV5S65B_iyMSpg1vIsovd4Ivbz9Qrrijwl0',
        'e' => 'AQAB',
    ),
    'contact' => array(
        0 => 'mailto:suporte@manzanos.com.br',
    ),
    'createdAt' => '2025-02-04T19:24:32.477167089Z',
    'status' => 'valid',
)

[2025-02-04 16:24:33.141096] [debug] POST response received
request: ‘POST https://acme-v02.api.letsencrypt.org/acme/acct/2209643605
header: 'HTTP/2 200
server: nginx
date: Tue, 04 Feb 2025 19:24:33 GMT
content-type: application/json
content-length: 808
boulder-requester: 2209643605
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
link: https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf;rel=“terms-of-service”
replay-nonce: TUC11O6XLV7hCblDT8qi6RRusXJfoQBC4M_H3qmTJPSZTgJtoao
x-frame-options: DENY
strict-transport-security: max-age=604800

'
status: 200
body: array(
    'key' => array(
        'kty' => 'RSA',
        'n' => '1-uHo58WFQOtmsMuJ5zEKJ4V3WVZrUfuydgRpOytxXod_X851sbifd9sk5KEmIeNqpqBZNF3Y7SRzQPoFYzcFASR53jfTfEQ-Y8l-O4q06u0uOl9LyXb1Yp8XN_ruwLIlWw6dKbGmon7GZxb7UQD9LoSQZaTlh_ZYO2YjXB_FIgvXsGSLIz39YX_QuNuiL97soVtny-2y40uwHD-kIWa8TnbFIpVQGVyVCvmxUOrG5kzFV_ELB3sCtQi3Pc0DAns4E6tGFLiexryWT1F0TLoGq-7_bYX58XrObpBCRRRlEKZpp-aTNT8D8AcH9BxwoeSWgWONcVfvC9NEld-cEMEWRVPaMJjCfl0rhZzk2GAE3Xy33BKlR5jMWuPIHnH6aqaZZ7huCLF_ZpaUFmh9AE30eKKNin5dUYd65WOk351hD3x0e2U6FkxiuWC5lSKqbWshahhJuvZUZHayMo2Jklrznqqj0zcQZdtB_DVJdO_iBuBkWnUGBIQQozVqroH4UwqvwgA-lAN3NmABLooyMQqZLOTPASvUZgAj5je_YLLWbnwhYkQpwn4wWvwGOkVYDalQ6e9ebVeVO-62ujFjBmtBZzIzgh7vwVqxUg78H6UdH8eW-ELV0WNESyhf-h0wMlhJM-HeLRWnV5S65B_iyMSpg1vIsovd4Ivbz9Qrrijwl0',
        'e' => 'AQAB',
    ),
    'createdAt' => '2025-02-04T19:24:32Z',
    'status' => 'valid',

If i try to renew the certificate again, the error changes:

In the same letsencrypt.log file i have this now:

[2025-02-04 16:50:13.606534] [debug] GET response received
request: ‘GET https://acme-v02.api.letsencrypt.org/directory
header: 'HTTP/2 200
server: nginx
date: Tue, 04 Feb 2025 19:50:13 GMT
content-type: application/json
content-length: 828
cache-control: public, max-age=0, no-cache
x-frame-options: DENY
strict-transport-security: max-age=604800

'
status: 200
body: array(
    '_AT4INIA8QY' => 'https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417',
    'keyChange' => 'https://acme-v02.api.letsencrypt.org/acme/key-change',
    'meta' => array(
        'caaIdentities' => array(
            0 => 'letsencrypt.org',
        ),
        'profiles' => array(
            'classic' => 'The same profile you're accustomed to',
        ),
        'termsOfService' => 'https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf',
        'website' => 'https://letsencrypt.org',
    ),
    'newAccount' => 'https://acme-v02.api.letsencrypt.org/acme/new-acct',
    'newNonce' => 'https://acme-v02.api.letsencrypt.org/acme/new-nonce',
    'newOrder' => 'https://acme-v02.api.letsencrypt.org/acme/new-order',
    'renewalInfo' => 'https://acme-v02.api.letsencrypt.org/draft-ietf-acme-ari-03/renewalInfo',
    'revokeCert' => 'https://acme-v02.api.letsencrypt.org/acme/revoke-cert',
)

[2025-02-04 16:50:14.082468] [debug] HEAD response received
request: ‘HEAD https://acme-v02.api.letsencrypt.org/acme/new-nonce
header: 'HTTP/2 200
server: nginx
date: Tue, 04 Feb 2025 19:50:14 GMT
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
replay-nonce: TUC11O6Xq8HAtYad4csY9rMvSItvUuD7_PILBWfpzYzwiSesGVY
x-frame-options: DENY
strict-transport-security: max-age=604800

'
status: 200
body: ''

[2025-02-04 16:50:14.085544] [info] No account found, attempting to create account.
[2025-02-04 16:50:14.977061] [debug] POST response received
request: ‘POST https://acme-v02.api.letsencrypt.org/acme/new-acct
header: 'HTTP/2 429
server: nginx
date: Tue, 04 Feb 2025 19:50:14 GMT
content-type: application/problem+json
content-length: 275
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
link: https://letsencrypt.org/docs/rate-limits;rel=“help”
replay-nonce: UvlUZ57PunSuF7tGXiq1jrh93076TElk3ptNAqBbOZ9daApcAjg
retry-after: 502

'
status: 429
body: array(
    'type' => 'urn:ietf:params:acme:error:rateLimited',
    'detail' => 'too many new registrations (10) from this IP address in the last 3h0m0s, retry after 2025-02-04 19:58:37 UTC: see https://letsencrypt.org/docs/rate-limits/#new-registrations-per-ip-address',
    'status' => 429,
)

I assume this was an error with the account, since the log says “no account found, attempting to create account”. So i deleted the certificate and tried to create a new one, but now i dont have my certificate anymore, and still receiving the same error. Any ideas?

Btw, the vitalpbx.com and helpdesk.vitalpbx.com is down for me, so i cant create a ticket for this issue.

What version of VitalPBX?

System Information
Distro Debian GNU/Linux 11 (bullseye)
Kernel 5.10.0-32-cloud-amd64
PBX Engine 18.23.1
VitalPBX 4.1.0-7
PHP Version 8.1.11

Well, if you did a quick search on the forums you will see that LetsEncrypt issues has been fixed in recent updates.

Please update your PBX to the latest version and report back if you still have the exact same issue.

2 Likes

Thanks! After updating the server, the issue was fixed.