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
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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:
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
@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
hostfield of the Core configuration.