Differences between revisions 2 and 3
Revision 2 as of 2022-04-06 14:17:16
Size: 793
Comment:
Revision 3 as of 2023-04-04 15:33:24
Size: 1381
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
A server administration tool with a web-based interface. '''`cockpit(1)`''' is a server administration tool with a web interface.
Line 13: Line 13:
[[Linux/Fedora|Fedora]] and many derivative distributions have `cockpit(1)` preinstalled and running by default. For other [[Linux]] distributions, a `cockpit` package may be available.

Official plugins are available in separate packages, such as `cockpit-machines` (an interface to `libvirtd(8)`) and `cockpit-podman` (an interface to [[Podman|podman(1)]]).

----



== Setup ==

[[Linux/Systemd|Start and enable]] `cockpit.socket`.



=== Encryption ===

By default, `cockpit(1)` uses a self-signed [[Encryption/SSL|SSL]]/[[Encryption/TLS|TLS]] certificate. This can be replaced with a valid one.

The '''last''' file with a `.cert` or `.crt` extension ''(in alphabetical order)'' in `/etc/cockpit/ws-certs.d` will be used. Try `/usr/libexec/cockpit-certificate-ensure --check` to verify that the correct certificate will be detected.
Line 20: Line 40:

=== Encryption ===

Cockpit will load the '''last''' file with a `.cert` or `.crt` extension ''(in alphabetical order)'' in `/etc/cockpit/ws-certs.d` as a TLS/SSL certificate.

Try running `/usr/libexec/cockpit-certificate-ensure --check` to see what certificates will be loaded.

Cockpit

cockpit(1) is a server administration tool with a web interface.


Installation

Fedora and many derivative distributions have cockpit(1) preinstalled and running by default. For other Linux distributions, a cockpit package may be available.

Official plugins are available in separate packages, such as cockpit-machines (an interface to libvirtd(8)) and cockpit-podman (an interface to podman(1)).


Setup

Start and enable cockpit.socket.

Encryption

By default, cockpit(1) uses a self-signed SSL/TLS certificate. This can be replaced with a valid one.

The last file with a .cert or .crt extension (in alphabetical order) in /etc/cockpit/ws-certs.d will be used. Try /usr/libexec/cockpit-certificate-ensure --check to verify that the correct certificate will be detected.


Usage


Troubleshooting

Terminal text appears as rainbow boxes

A known interaction of Xterm.js project and the Firefox browser.

  1. Double check for an 'Allow access to the HTML5 canvas?' popup. This needs to be enabled.
  2. Try disabling privacy.resistFingerprinting.


CategoryRicottone

Cockpit (last edited 2023-04-04 15:35:23 by DominicRicottone)