Skip to content

Certificate Problems with letsencrypt #13

Description

@vogt31337

Hi,

I can't really tell If I have done something wrong, but it seems to be a problem with an intermediate certificate in the chain of letsencrypt.
So I am using keycloak, with an letsencrypt certificate and I am getting the following error:

["ERROR","2024-10-19T09:13:27.030Z","CHALLENGE_RESPONSE_ACTION_ERROR",{"error":{"stack":"Error: unable to verify the first certificate\n at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)\n at TLSSocket.emit (node:events:519:28)\n at TLSSocket._finishInit (node:_tls_wrap:1085:8)\n at ssl.onhandshakedone (node:_tls_wrap:871:12)","message":"unable to verify the first certificate","code":"UNABLE_TO_VERIFY_LEAF_SIGNATURE"}}]

A search suggested this package to be installed and executed: https://git.coolaj86.com/coolaj86/ssl-root-cas.js

(for testing purposes one can set: export NODE_TLS_REJECT_UNAUTHORIZED="0")

But I can't really tell where and how to incorporate it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions