← 返回命令列表

Linux command

cockpit-tls 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

cockpit-tls --port [port]

Example

cockpit-tls --help

说明

cockpit-tls is a TLS-terminating HTTP proxy that handles HTTPS connections for the Cockpit web-based server management interface. It accepts encrypted connections from clients, terminates the TLS session, and forwards the decrypted HTTP requests to cockpit-ws for processing. By default, it listens on port 9090 and uses TLS certificates from /etc/cockpit/ws-certs.d/. The process is designed to run with minimal privileges, handling only the cryptographic layer while delegating all application logic to cockpit-ws. This component is typically managed by systemd via the cockpit.socket unit and is not usually invoked directly. It replaced the built-in TLS handling that was previously part of cockpit-ws, following a security-oriented separation of concerns.

参数

--port _port_
Listen on specified port instead of 9090
--help
Display help information

FAQ

What is the cockpit-tls command used for?

cockpit-tls is a TLS-terminating HTTP proxy that handles HTTPS connections for the Cockpit web-based server management interface. It accepts encrypted connections from clients, terminates the TLS session, and forwards the decrypted HTTP requests to cockpit-ws for processing. By default, it listens on port 9090 and uses TLS certificates from /etc/cockpit/ws-certs.d/. The process is designed to run with minimal privileges, handling only the cryptographic layer while delegating all application logic to cockpit-ws. This component is typically managed by systemd via the cockpit.socket unit and is not usually invoked directly. It replaced the built-in TLS handling that was previously part of cockpit-ws, following a security-oriented separation of concerns.

How do I run a basic cockpit-tls example?

Run `cockpit-tls --port [port]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --port _port_ do in cockpit-tls?

Listen on specified port instead of 9090