CERT_HAS_EXPIRED error

  • postaltrip

    20 messages

    Espagne

    Good morning,

    since several days ago, we are receiving this error when requesting any call to any endpoint of the API:

    FetchError {message: "request to Lien (https) failed, reason: certificate has expired", type: "system", errno: "CERT_HAS_EXPIRED", code: "CERT_HAS_EXPIRED", stack: "FetchError: request to Lien (https) (internal/process/task_queues.js:80:21)"}

    However, we work with a developer token, and we do not see any place where we could renew any certificate.

    Any help?

    Thanks in advance!
  • @thomas
    Administrateur

    350 messages

    Belgique

    Good morning,

    since several days ago, we are receiving this error when requesting any call to any endpoint of the API:

    FetchError {message: "request to Lien (https) failed, reason: certificate has expired", type: "system", errno: "CERT_HAS_EXPIRED", code: "CERT_HAS_EXPIRED", stack: "FetchError: request to Lien (https) (internal/process/task_queues.js:80:21)"}

    However, we work with a developer token, and we do not see any place where we could renew any certificate.

    Any help?

    Thanks in advance!
    • Posté le 7 déc. 2021 à 02:22
    • #1354303
    Hello postaltrip,

    It seems that you have problems with the root certificates of the client you are using.

    Here is a link that should help you understand and solve your problem: Lien (https)

    Best Regards,
    --
    Thomas
    Delcampe Team
  • postaltrip

    20 messages

    Espagne

    Hello,

    thanks for the answer. We use the 'node-fetch' library from NPM, and it seems that the 2.6.1 version already covers this Let's Encrypt issue. By installing this version the application worked properly again.

    Thanks!