![]() |
![]() |
![]() |
Cockpit Guide | ![]() |
---|
cockpit-wscockpit-ws — Cockpit web service |
cockpit-ws
[--help
] [--port
PORT
] [--no-tls
] [--local-ssh
]
The cockpit-ws program is the web service component used for communication between the browser application and various configuration tools and services like cockpit-bridge(8).
Users or administrators should never need to start this program as it automatically started by systemd(1) on bootup.
To specify the TLS certificate the web service should use, simply
drop a file with the extension .cert
in the
/etc/cockpit/ws-certs.d
directory. If there are
multiple files in this directory, then the highest priority one
is chosen after sorting. If there is no TLS certificate, a
self-signed certificate is automatically generated using the
/etc/pki/tls/certs/make-dummy-cert command
and stored in
/etc/cockpit/ws-certs.d/~self-signed.cert
.
When started via systemd(1) then cockpit-ws will exit after 10 minutes if nobody logs in, or after the last user is disconnected.
|
Show help options. |
|
Normally cockpit-ws uses
cockpit-session and PAM to authenticate the user and start a
user session. With this option enabled, it will instead authenticate via SSH at
|
|
Serve HTTP requests |
|
Don't use TLS. |