Difference between revisions of "Cockpit"

From Dogtag
Jump to: navigation, search
m
m (Cockpit API)
Line 34: Line 34:
 
* [https://cockpit-project.org/guide/latest/packages.html#package-api Using Cockpit API]
 
* [https://cockpit-project.org/guide/latest/packages.html#package-api Using Cockpit API]
 
* [https://cockpit-project.org/guide/latest/development.html Developer Guide]
 
* [https://cockpit-project.org/guide/latest/development.html Developer Guide]
 +
* [https://cockpit-project.org/blog/creating-plugins-for-the-cockpit-user-interface.html Creating Plugins for the Cockpit User Interface]
  
 
= Containerization =
 
= Containerization =

Revision as of 17:01, 26 May 2020

SSL Certificate

SSL certificate should be stored in /etc/cockpit/ws-certs.d with a .cert extension. The file should contain the certificate and its private key.

To check which certificate cockpit-ws will use:

$ remotectl certificate

See Cockpit Certificates.

SSL Ciphers

SSL ciphers are defined in /etc/systemd/system/cockpit.service.d/ssl.conf, for example:

[Service]
Environment=G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT

Authentication

When running as a container cockpit will establish SSH to the underlying host.

See Cockpit Authentication.

Cockpit API

Cockpit has API available for writing packages. There is no API available for external callers to invoke via HTTP, REST or otherwise.

See also:

Containerization

See Cockpit Kubernetes.

See Also