On Wed, May 19, 2021 at 1:41 PM Lev Veyde <lveyde@redhat.com> wrote:
Hi,

What creates the following files on the system? :

/etc/cockpit/ws-certs.d/0-self-signed-ca.pem
/etc/cockpit/ws-certs.d/0-self-signed.cert

I see that the directory is owned by the cockpit-ws package, but couldn't find anything in the RPM scripts.

Thanks in advance,

They aren't created in the RPM scripts because they need to be unique on different systems (generating them in the RPM scripts would mean that things like rpm-ostree and gold VM images would all have the same certificates).

They're created when Cockpit starts up if they don't already exist. On Fedora, they're usually generated by sscg.

Is there a specific question you have about these certificates?