feat(remoteingress): add TLS certificate resolution and passthrough for RemoteIngress tunnel

This commit is contained in:
2026-02-26 23:50:40 +00:00
parent 37d62c51f3
commit 12070bc7b5
7 changed files with 54 additions and 9 deletions

View File

@@ -5,6 +5,10 @@ import type { RemoteIngressManager } from './classes.remoteingress-manager.js';
export interface ITunnelManagerConfig {
tunnelPort?: number;
targetHost?: string;
tls?: {
certPem?: string;
keyPem?: string;
};
}
/**
@@ -61,6 +65,7 @@ export class TunnelManager {
await this.hub.start({
tunnelPort: this.config.tunnelPort ?? 8443,
targetHost: this.config.targetHost ?? '127.0.0.1',
tls: this.config.tls,
});
// Send allowed edges to the hub