[GH-ISSUE #286] Actions error when using ssl #7147

Closed
opened 2026-04-27 20:26:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @dankfred on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/286

When SSL is enabled, running actions result in the following error message:

Download https://localhost/client/lib.js
error: Import 'https://localhost/client/lib.js' failed: error sending request for url (https://localhost/client/lib.js): client error (Connect): invalid peer certificate: UnknownIssuer
    at file:///action-cache/GwEvCChcR3.ts:1:30

Looks like it's caused by my certificate being invalid for "localhost":
82b2e68cd3/bin/core/src/api/execute/action.rs (L204)

Originally created by @dankfred on GitHub (Feb 2, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/286 When SSL is enabled, running actions result in the following error message: ``` Download https://localhost/client/lib.js error: Import 'https://localhost/client/lib.js' failed: error sending request for url (https://localhost/client/lib.js): client error (Connect): invalid peer certificate: UnknownIssuer at file:///action-cache/GwEvCChcR3.ts:1:30 ``` Looks like it's caused by my certificate being invalid for "localhost": https://github.com/moghtech/komodo/blob/82b2e68cd39772580b37c9fe04712fbeee161a2b/bin/core/src/api/execute/action.rs#L204
GiteaMirror added the bugdone labels 2026-04-27 20:26:05 -05:00
Author
Owner

@mbecker20 commented on GitHub (Feb 9, 2025):

Hm I didn't consider this situation, it makes sense though. In order for the cert to be valid, it would have to use the DNS address of core instead of localhost if https is enabled. For example by using the host field of the Core configuration.

<!-- gh-comment-id:2646572303 --> @mbecker20 commented on GitHub (Feb 9, 2025): Hm I didn't consider this situation, it makes sense though. In order for the cert to be valid, it would have to use the DNS address of core instead of localhost if https is enabled. For example by using the `host` field of the Core configuration.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#7147