[Bug]: Self-Hosted SSO OIDC Provider received "SELF_SIGNED_CERT_IN_CHAIN" error #2411

Closed
opened 2026-02-28 20:13:06 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Kryszn0 on GitHub (Aug 23, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I am self hosting Actual Budget as well as my SSO provider, so both have self-signed certificates (e.g., sso.example.home and actualbudget.example.home).

Everything is set up correctly but when I attempt to link Actual to the SSO provider I receive the following:

Error setting up OpenID client: Error: self-signed certificate in certificate chain
    at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
    at TLSSocket.emit (node:events:524:28)
    at TLSSocket._finishInit (node:_tls_wrap:1076:8)
    at ssl.onhandshakedone (node:_tls_wrap:862:12) {
  code: 'SELF_SIGNED_CERT_IN_CHAIN'
}

I've tried passing through my .key and .crt and installing update-ca-certificates but no luck to get that working/trusted

Any help/advice?

Any possibility of enabling an Environment variable that will enable trusting self-signed certs?

How can we reproduce the issue?

How can we reproduce the issue?

Where are you hosting Actual?

None

What browsers are you seeing the problem on?

No response

Operating System

None

Originally created by @Kryszn0 on GitHub (Aug 23, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? I am self hosting Actual Budget as well as my SSO provider, so both have self-signed certificates (e.g., sso.example.home and actualbudget.example.home). Everything is set up correctly but when I attempt to link Actual to the SSO provider I receive the following: ``` Error setting up OpenID client: Error: self-signed certificate in certificate chain at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34) at TLSSocket.emit (node:events:524:28) at TLSSocket._finishInit (node:_tls_wrap:1076:8) at ssl.onhandshakedone (node:_tls_wrap:862:12) { code: 'SELF_SIGNED_CERT_IN_CHAIN' } ``` I've tried passing through my .key and .crt and installing update-ca-certificates but no luck to get that working/trusted Any help/advice? Any possibility of enabling an Environment variable that will enable trusting self-signed certs? ### How can we reproduce the issue? How can we reproduce the issue? ### Where are you hosting Actual? None ### What browsers are you seeing the problem on? _No response_ ### Operating System None
GiteaMirror added the bug label 2026-02-28 20:13:06 -06:00
Author
Owner

@youngcw commented on GitHub (Aug 23, 2025):

Please reach out on discord for tech support.

@youngcw commented on GitHub (Aug 23, 2025): Please reach out on discord for tech support.
Author
Owner

@Kryszn0 commented on GitHub (Aug 23, 2025):

don't use Discord and loathe the paradigm shift of discussing projects/issues others may have off Github where answers are hard to find. Also wouldn't really consider this tech support and more of a bug/feature request

Thanks for quick reply though

@Kryszn0 commented on GitHub (Aug 23, 2025): don't use Discord and loathe the paradigm shift of discussing projects/issues others may have off Github where answers are hard to find. Also wouldn't really consider this tech support and more of a bug/feature request Thanks for quick reply though
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2411